Click here to Skip to main content
15,911,707 members
Home / Discussions / C#
   

C#

 
GeneralRe: global variables Pin
tasumisra16-Dec-07 21:55
tasumisra16-Dec-07 21:55 
Questionwhat is the value if u add a value more than the maximum value for the data type Pin
cyn816-Dec-07 21:29
cyn816-Dec-07 21:29 
AnswerRe: what is the value if u add a value more than the maximum value for the data type Pin
CKnig16-Dec-07 21:52
CKnig16-Dec-07 21:52 
GeneralRe: what is the value if u add a value more than the maximum value for the data type Pin
cyn816-Dec-07 21:57
cyn816-Dec-07 21:57 
GeneralRe: what is the value if u add a value more than the maximum value for the data type Pin
CKnig16-Dec-07 22:05
CKnig16-Dec-07 22:05 
AnswerRe: what is the value if u add a value more than the maximum value for the data type Pin
Luc Pattyn17-Dec-07 2:53
sitebuilderLuc Pattyn17-Dec-07 2:53 
GeneralVisual Studio Properties Window Pin
half-life16-Dec-07 21:10
half-life16-Dec-07 21:10 
GeneralRe: Visual Studio Properties Window Pin
m@u16-Dec-07 21:20
m@u16-Dec-07 21:20 
GeneralRe: Visual Studio Properties Window Pin
half-life16-Dec-07 22:01
half-life16-Dec-07 22:01 
Questionhow to read and write RFID Card Pin
dipak.dipak16-Dec-07 20:36
dipak.dipak16-Dec-07 20:36 
GeneralRe: how to read and write RFID Card Pin
Malcolm Smart16-Dec-07 21:57
Malcolm Smart16-Dec-07 21:57 
GeneralRe: how to read and write RFID Card Pin
Vasudevan Deepak Kumar16-Dec-07 22:11
Vasudevan Deepak Kumar16-Dec-07 22:11 
GeneralActive directory Structure Pin
Satish - Developer16-Dec-07 20:14
Satish - Developer16-Dec-07 20:14 
GeneralRe: Active directory Structure Pin
Vasudevan Deepak Kumar16-Dec-07 22:14
Vasudevan Deepak Kumar16-Dec-07 22:14 
QuestionHow to read the node from xml file in C#? Pin
nicolus16-Dec-07 19:20
nicolus16-Dec-07 19:20 
i have an xml file in the following format i want to read a node's text in the following manner in C# but it is not giving any thing why? and how to do that? Pls help me.

Here is my xml file ("withNsxml.xml")content:
<md_metadata xmlns="http://www.isotc211.org/2005/gmd">
<md_identification>fgdfgdfgjkfjdg</md_identification>
</md_metadata>

This is the code snippet i am using to read the text in "MD_Identification" node

XmlDocument XDom = new XmlDocument();
XDom.Load(@"F:\withNsxml.xml");
XmlNamespaceManager XMLNSMgr = new XmlNamespaceManager(XDom.NameTable);
XMLNSMgr.AddNamespace(string.Empty, "http://www.isotc211.org/2005/gmd");
XmlNodeList nodes1 = XDom.SelectNodes("md_metadata/md_identification", XMLNSMgr);
foreach (XmlNode node in nodes1)
{
MessageBox.Show(node.InnerText );
}



Thanks in advance.
AnswerRe: How to read the node from xml file in C#? Pin
Abhijit Jana16-Dec-07 20:07
professionalAbhijit Jana16-Dec-07 20:07 
GeneralRe: How to read the node from xml file in C#? Pin
nicolus16-Dec-07 20:21
nicolus16-Dec-07 20:21 
AnswerRe: How to read the node from xml file in C#? Pin
N a v a n e e t h16-Dec-07 20:10
N a v a n e e t h16-Dec-07 20:10 
GeneralRe: How to read the node from xml file in C#? Pin
nicolus16-Dec-07 21:32
nicolus16-Dec-07 21:32 
AnswerRe: How to read the node from xml file in C#? Pin
Malcolm Smart16-Dec-07 21:20
Malcolm Smart16-Dec-07 21:20 
QuestionHow we assing Transaction to DataAdaptor ? Pin
pekhaleyogesh16-Dec-07 18:12
pekhaleyogesh16-Dec-07 18:12 
GeneralNeed help to convert vb module into c# Pin
tasumisra16-Dec-07 17:36
tasumisra16-Dec-07 17:36 
GeneralRe: Need help to convert vb module into c# Pin
Yitzchok Dev16-Dec-07 18:16
Yitzchok Dev16-Dec-07 18:16 
GeneralRe: Need help to convert vb module into c# Pin
tasumisra16-Dec-07 18:38
tasumisra16-Dec-07 18:38 
GeneralRe: Need help to convert vb module into c# Pin
Yitzchok Dev16-Dec-07 18:40
Yitzchok Dev16-Dec-07 18:40 

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.