I have an XML file called employee. I want to bind the XML file to a GridView. pls help... thanx :-)
+1
A:
You probably is looking for asp:XmlDataSource:
<asp:XmlDataSource runat="server" ID="XmlDataSource1" DataFile="~/App_Data/data.xml" XPath="//item" />
I will be happy to give you more advanced answer after increasing your accept rate. Thank you.
abatishchev
2010-06-07 10:50:02
Look at the numbers. Only 5 eligible questions and a user for only 6 days, hardly worth getting steamed up about.
ChrisF
2010-06-07 10:52:29
thanx for ur help :)
2010-06-07 11:42:20
Sorry. I apologize for my delayed response...
2010-06-07 11:43:10
@aparnakarthik: Why don't you increase your `accept rate` approving answers in your previous questions?:) Also - do you have a success in your current question?
abatishchev
2010-06-07 17:40:12
yes this is what i need...ur solution worked fine.... thanx a lot :)
2010-06-08 07:08:53
@aparnakarthik: Glad it helped! Please mark my post as an answer (green tick)
abatishchev
2010-06-08 08:48:28
It solved my issue..... thanx a lot
2010-06-08 09:16:56
A:
yes you can via DataSet then bind dataSet object to datagrid. http://msdn.microsoft.com/en-us/library/84sxtbxh(VS.71).aspx
Arseny
2010-06-07 10:52:10