Click here to Skip to main content
15,912,756 members

Comments by Shyam Kishor Mishra (Top 5 by date)

Shyam Kishor Mishra 31-Jul-14 12:30pm View    
yah, I know the SqlConnection, SqlCommand.. but i am new to XML and its handling. i try to parse the XMl as
DataSet ds = new DataSet();
ds.ReadXml(MapPath("faresearch.xml"));
GridView2.DataSource = ds;
GridView2.DataBind();

But this shows error as
The table (item) cannot be the child table to itself in nested relations.
Shyam Kishor Mishra 31-Jul-14 12:02pm View    
I am really thank full to you. I want to store the data in the data base and it should be searchable so that i can show some particular data value in to any dataview. Same like this URL(All flight details section)(http://goo.gl/KAxjRy)
Shyam Kishor Mishra 31-Jul-14 9:23am View    
i am trying to use XmlDocument class

XmlDocument xDoc = new XmlDocument();
xDoc.Load(MapPath("FareSearch.xml"));
XmlNodeList item = xDoc.GetElementsByTagName("item");
string abc = item[0].InnerXml;


and yes, I am new to XML, so please help me
Shyam Kishor Mishra 31-Jul-14 5:22am View    
I am not able to save the data. that i want to ask from you all dear. please tell me the procedure. please
Shyam Kishor Mishra 31-Jul-14 5:21am View    
I am not able to save the data. that i want to ask from you all dear. please tell me the procedure.