We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load dim XmlSource1 as XmlDataSource XmlSource1 = new XmlDataSource() XmlSource1.DataFile = (Server.MapPath("/App_Data/nl.xml")) XmlSource1.DataBind() dim XmlSource2 as XmlDataSource XmlSource2 = new XmlDataSource() XmlSource2.DataFile = (Server.MapPath("/App_Data/nl.xml")) XmlSource2.DataBind() End Sub End Class This just gets constant errors. What is the correct way to reference the file which is used by 2 datasources and run it in the Page Load? Thanks Tania
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.