Creating a Contact form in Visual Studio ASPX and saving to an XML file when clicking SUBMIT
- by user327137
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