Click here to Skip to main content
16,006,531 members
Home / Discussions / C#
   

C#

 
QuestionDiscovering location of csc.exe through code Pin
krafix10-Nov-08 13:24
krafix10-Nov-08 13:24 
AnswerRe: Discovering location of csc.exe through code Pin
netJP12L10-Nov-08 14:40
netJP12L10-Nov-08 14:40 
AnswerRe: Discovering location of csc.exe through code Pin
Ravi Bhavnani10-Nov-08 16:41
professionalRavi Bhavnani10-Nov-08 16:41 
GeneralRe: Discovering location of csc.exe through code Pin
Alan Balkany11-Nov-08 3:36
Alan Balkany11-Nov-08 3:36 
QuestionHow do I find a XML element based on attribute Pin
Ola E10-Nov-08 11:02
Ola E10-Nov-08 11:02 
AnswerRe: How do I find a XML element based on attribute Pin
Pete O'Hanlon10-Nov-08 11:07
mvePete O'Hanlon10-Nov-08 11:07 
GeneralRe: How do I find a XML element based on attribute Pin
Ola E10-Nov-08 19:03
Ola E10-Nov-08 19:03 
GeneralRe: How do I find a XML element based on attribute Pin
Tuwing.Sabado10-Nov-08 21:13
Tuwing.Sabado10-Nov-08 21:13 
System.Xml.XmlDocument xmlDocument = new System.Xml.XmlDocument();
xmlDocument.Load(@"c:\text.xml");


// Fetch all 'item' xml elements with attribute 'No' equal to 1000
System.Xml.XmlNodeList xmlNodeList = xmlDocument.SelectNodes("//Item[@No='1000']");

foreach (System.Xml.XmlNode xmlNode in xmlNodeList)
{
    // Display the value of 'Item' xml element
    Console.WriteLine(xmlNode.Value);
}



happy coding Smile | :)

regards,
mark
QuestionProblem Pin
netJP12L10-Nov-08 9:57
netJP12L10-Nov-08 9:57 
AnswerRe: Problem Pin
Pedram Behroozi10-Nov-08 10:13
Pedram Behroozi10-Nov-08 10:13 
GeneralRe: Problem Pin
netJP12L10-Nov-08 10:22
netJP12L10-Nov-08 10:22 
QuestionCAB Single Instance App Pin
Brian Jenkins10-Nov-08 9:48
Brian Jenkins10-Nov-08 9:48 
QuestionWindows Forms vs DirectX Pin
Generico30010-Nov-08 7:38
Generico30010-Nov-08 7:38 
AnswerRe: Windows Forms vs DirectX Pin
Wendelius10-Nov-08 7:46
mentorWendelius10-Nov-08 7:46 
AnswerRe: Windows Forms vs DirectX Pin
Mark Salsbery10-Nov-08 8:25
Mark Salsbery10-Nov-08 8:25 
GeneralRe: Windows Forms vs DirectX Pin
Mark Churchill10-Nov-08 15:59
Mark Churchill10-Nov-08 15:59 
GeneralRe: Windows Forms vs DirectX Pin
Mark Salsbery10-Nov-08 16:04
Mark Salsbery10-Nov-08 16:04 
QuestionTrying to prevent the DataGridView Default Error Dialog Pin
Edward Hoad10-Nov-08 6:13
Edward Hoad10-Nov-08 6:13 
AnswerRe: Trying to prevent the DataGridView Default Error Dialog Pin
paas10-Nov-08 7:40
paas10-Nov-08 7:40 
QuestionUnified Session Variable Pin
k66610-Nov-08 5:56
k66610-Nov-08 5:56 
AnswerRe: Unified Session Variable Pin
Ennis Ray Lynch, Jr.10-Nov-08 7:11
Ennis Ray Lynch, Jr.10-Nov-08 7:11 
GeneralAnd Pin
Ennis Ray Lynch, Jr.10-Nov-08 7:13
Ennis Ray Lynch, Jr.10-Nov-08 7:13 
GeneralRe: And Pin
k66610-Nov-08 7:23
k66610-Nov-08 7:23 
GeneralRe: And Pin
Ennis Ray Lynch, Jr.10-Nov-08 7:27
Ennis Ray Lynch, Jr.10-Nov-08 7:27 
GeneralRe: And Pin
Wendelius10-Nov-08 7:34
mentorWendelius10-Nov-08 7:34 

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.