Write Xml File using Asp.net

how to create and write xmlfile in asp.net using dataset try this simple code

Server Side

Protected Sub bt1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bt1.Click
dt = cls1.Crr("Select * from tbemp", "test1")
End Sub

Client Side

< html xmlns="http://www.w3.org/1999/xhtml" >
< head runat="server" >
< title >Untitled Page< /title >
< /head >
< body >
< form id="form1" runat="server" >
< asp:Button ID="bt1" runat ="Server" Text ="CreateXml" / >
< /form >
< /body >
< /html >


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: