votes
Linq question to extract items
I have the following: <emphasis role="bold" xmlns="http://something> <emphasis role="underline">Bold with underline</emphasis></emphasis> I am trying to use linq to extract the words &q ...
blah blah blah is here! blah blah » Close
I have the following: <emphasis role="bold" xmlns="http://something> <emphasis role="underline">Bold with underline</emphasis></emphasis> I am trying to use linq to extract the words &q ...
I have developed Silverlight 4.0 applications, but never done the deployment etc and had a few questions. 1) How do you deploy the application to a webserver (Directories to deploy to and certain files I need to copy,etc)? 2) Does the ...
I want to make sure when a user selects a file, that it does not exceed 10 meg. I have: int _maxFileSize = 10240; OpenFileDialog dlg = new OpenFileDialog(); if ((bool)dlg.ShowDialog()) { if (dlg.File.Length > _maxFileSi ...
I have the following: Dictionary<int, List<DataRow>> fundValues What I need is based off the very first record for a column called "ValueFooted", I need to find out the type this column is (already know it is a ...
I have the following: <section name="Test"> <Statement Type="XX"> <Names> <Proper Name="My Name" /> </Names> <AccountPeriods> <Period Ty ...
I need a enum where I pass in "IBM" and it passes back "I.B.M", etc.. Is this possible?
I have a textbox that will contain decimal values. I currently have String.Format("{0:0,0,0.00}" which displays my commas, but what I want is to show the commas when it doesn't have focus, but when it has focus, to remove the ...
I need help with converting a PDF file into a string object. I first have the following to convert to a byte array: byte[] byteArray=null; byteArray = File.ReadAllBytes(filepath); Now I need to take that byteArray and since it is in a m ...
I am working on a Silverlight 3 project and added a Service Reference, however when trying to instantiate the client I am getting an error: "Could not find default endpoint element that references contract 'ABC.TEST123' in the Service ...
I have a label control that is part of a grid and has the current value at design time: Grid.Row = "6" What I want to do, is when a user presses a certain button to change it to: Grid.Row = "2" Thanks
I have an XML file being read in through a XmlTextReader and going through a while loop. I just want to write the results of the file out in the while loop, eventually I will need some other special processing. I have: XmlTextWriter textW ...
I'm new to creating Web Services in Visual Studio 2005. I want to implement Active Directory as the patter for direct authentication. My question is, when an XML file is coming across the wire with the username/password supplied within it ...
I need to create a web service in VS 2008, some examples I have seen say to put an http: in the "Location" field, which turns off the OK button and then some say to just fill the "Location" field with a spot for the proj ...
I have the following in a method, the method has a string being passed called "xmlfile", which is an xml file. XDocument xmlMyData = XDocument.Parse(xmlfile) When it gets to this line it says: "Data at the root level is in ...
I am just starting out on Silverlight 2 and have Visual Studio 2008, however when I try to create a new project, I'm not seeing the "Silverlight Project" as an available template. I know I have Silverlight 2 installed, as I see i ...