Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# 2010 standard output Pin
Dave Kreskowiak24-Aug-12 4:34
mveDave Kreskowiak24-Aug-12 4:34 
GeneralRe: C# 2010 standard output Pin
sc steinhayse24-Aug-12 6:01
sc steinhayse24-Aug-12 6:01 
GeneralRe: C# 2010 standard output Pin
Dave Kreskowiak24-Aug-12 6:15
mveDave Kreskowiak24-Aug-12 6:15 
QuestionSQL Connection problem in Windows Service asp.net c# Pin
Member 799263524-Aug-12 0:22
Member 799263524-Aug-12 0:22 
AnswerCross post Pin
Pete O'Hanlon24-Aug-12 0:35
mvePete O'Hanlon24-Aug-12 0:35 
AnswerRe: SQL Connection problem in Windows Service asp.net c# Pin
Vijay Selvaraj26-Aug-12 21:56
Vijay Selvaraj26-Aug-12 21:56 
QuestionC# 2010 parse a file Pin
classy_dog23-Aug-12 17:49
classy_dog23-Aug-12 17:49 
AnswerRe: C# 2010 parse a file PinPopular
pramod.hegde23-Aug-12 20:05
professionalpramod.hegde23-Aug-12 20:05 
You can use LINQ to XML approach to achieve this. One major advantage with this approach is less coding, and easy to traverse in DOM tree. Also, you can easily get the DOM objects. Insert/Delete/Update xml file/string is pretty easy here. You can work with linq statements to get the objects like to any other collection.
There are many samples which will show you how to use LINQ with XML.
LINQ to XML[^]
http://www.dreamincode.net/forums/topic/218979-linq-to-xml/[^]
http://www.dotnetperls.com/xelement[^]

Most of these links help you to load the xml file itself. Whereas if you have the xml string, then its still more easy,
C#
XElement xmlElement = XElement.Parse(xmlString);

http://msdn.microsoft.com/en-us/library/bb468714.aspx[^]
http://sourcefield.blogspot.in/2008/11/linq-transformation-sample-xml.html[^]
http://www.java2s.com/Code/CSharp/XML-LINQ/UseXElementParsetoparseanelementdocument.htm[^]
http://geeksneversleep.com/tutorials/c-xml-and-linq-deleting-an-xml-node[^]
AnswerRe: C# 2010 parse a file Pin
wizardzz24-Aug-12 9:54
wizardzz24-Aug-12 9:54 
Question[Problem Solved] how to access a class of a file A.cs from other file B.cs Pin
jamesfrj23-Aug-12 13:33
jamesfrj23-Aug-12 13:33 
AnswerRe: how to access a class of a file A.cs from other file B.cs Pin
harold aptroot23-Aug-12 14:42
harold aptroot23-Aug-12 14:42 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
jamesfrj30-Aug-12 0:25
jamesfrj30-Aug-12 0:25 
AnswerRe: how to access a class of a file A.cs from other file B.cs Pin
pramod.hegde23-Aug-12 20:12
professionalpramod.hegde23-Aug-12 20:12 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
Pete O'Hanlon23-Aug-12 23:00
mvePete O'Hanlon23-Aug-12 23:00 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
pramod.hegde23-Aug-12 23:04
professionalpramod.hegde23-Aug-12 23:04 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
Pete O'Hanlon23-Aug-12 23:27
mvePete O'Hanlon23-Aug-12 23:27 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
pramod.hegde23-Aug-12 23:51
professionalpramod.hegde23-Aug-12 23:51 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
Pete O'Hanlon24-Aug-12 0:04
mvePete O'Hanlon24-Aug-12 0:04 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
jamesfrj24-Aug-12 4:44
jamesfrj24-Aug-12 4:44 
AnswerRe: how to access a class of a file A.cs from other file B.cs Pin
Bernhard Hiller23-Aug-12 22:51
Bernhard Hiller23-Aug-12 22:51 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
jamesfrj30-Aug-12 0:30
jamesfrj30-Aug-12 0:30 
AnswerRe: how to access a class of a file A.cs from other file B.cs Pin
BobJanova23-Aug-12 22:54
BobJanova23-Aug-12 22:54 
GeneralRe: how to access a class of a file A.cs from other file B.cs Pin
jamesfrj30-Aug-12 0:22
jamesfrj30-Aug-12 0:22 
GeneralHow do I programmatically disable macros in Microsoft Project files using C#? Pin
Kosh201023-Aug-12 10:04
Kosh201023-Aug-12 10:04 
GeneralRe: How do I programmatically disable macros in Microsoft Project files using C#? Pin
BobJanova23-Aug-12 22:50
BobJanova23-Aug-12 22:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.