Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind DataGrid to an xml string
Message
From
23/02/2004 17:54:47
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00878908
Message ID:
00880099
Views:
19
But you are showing how to show data from tha file. I need to show an xml string. Sorry if I am asking a stupid question.

>>If I have an xml string can bind DataGrid or any other tabular control to it?
>>Converting a string into a file first is not an option.
>>
>>Thanks
>
>Will this help?
>
>
>Sub Page_Load(Sender As Object, E as EventArgs)
>
>' Response.write("XML Example")
>    Dim xmlFilename As String
>    xmlFilename= "C:\Data\atoms.xml"
>    Dim newDataSet As New DataSet
>    newDataSet.ReadXML(xmlFilename)
>    DataGrid1.DataSource = newDataSet
>    DataGrid1.DataBind()
>End Sub
>
>
Previous
Reply
Map
View

Click here to load this message in the networking platform