Creating a Contact form in Visual Studio ASPX and saving to an XML file when clicking SUBMIT

Posted by user327137 on Stack Overflow See other posts from Stack Overflow or by user327137
Published on 2010-04-27T18:21:13Z Indexed on 2010/04/27 18:23 UTC
Read the original article Hit count: 216

Filed under:
|
|

hey people hope all is well..

i am trying to create a form in VS using ASP that when upon submitting a form the details will get automatically stored in an xml file which can be accessed later on a chosen file save path

i have 2 files ... "Contact.aspx" and "Contact.aspx.vb"

i have created the form in the "Contact.aspx" and when trying to enter the fields in the "contact.aspx.vb" i keep getting several errors such as for example...

Error 5 'Formatting' is not a member of 'System.Web.UI.WebControls.XmlBuilder'

Error 6 'WriteStartDocument' is not a member of 'System.Web.UI.WebControls.XmlBuilder'.

Error 7 'WriteComment' is not a member of 'System.Web.UI.WebControls.XmlBuilder'.

Error 8 'WriteStartElement' is not a member of 'System.Web.UI.WebControls.XmlBuilder'.

Error 10 'WriteAttributeString' is not a member of 'System.Web.UI.WebControls.XmlBuilder'.

there is like 30 errors in total... im literally stuck out my head been trying for 2 days now and can't grasp what im doing wrong ive tried even some of the tutorials online but loads of errors...

hope some1 can fix this

thank you

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about ASP.NET