Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind DataGrid to an xml string
Message
 
To
19/02/2004 15:14:10
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00878908
Message ID:
00878958
Views:
18
>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
Next
Reply
Map
View

Click here to load this message in the networking platform