Click here to Skip to main content
16,013,465 members

Comments by MJ2014 (Top 11 by date)

MJ2014 2-Nov-16 3:22am View    
this is working code. Check your xml file , you might have missed something there
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Filepath);
XmlNodeList userNodes = xmlDoc.SelectNodes("//MainNode/Subnode1");
foreach (XmlNode userNode in userNodes)
{
string name= userNode.Attributes["Name"].Value;
}
MJ2014 28-Jul-15 13:57pm View    
tell me exactly where you are getting error.
MJ2014 26-Jun-15 13:26pm View    
here it will uses an enumeration method.it will execute one iteration before data get modify.Once you have modified an index you will get an error in executing another . Because once Collection is modified ,the enumeration operation may not execute.
MJ2014 26-Jun-15 12:45pm View    
can please tell me what you want to do. so that i can help..you just want tab page2 dgv data into tab page 1 text is it correct?
MJ2014 23-Nov-14 15:31pm View    
can pls tell me how many rows available in gridview4?