![]() My application loads an xml file into a datagrid. How do I adapt the vb to accommodate the extra node in the xml. Keep checking here for updated clinic running times _dsTicker.WriteXml(Server.MapPath("ticker.xml")) 'Adds time and date to show when message added Sitem(0) = CType(e.Item.FindControl("NewDescription"), TextBox).Text Sitem(1) = CType(e.Item.FindControl("NewTitle"), TextBox).Text ![]() 'Puts current time and date if user tries to add a blank message This bit of VB updates the xml based upon the input in a form: Private Sub dgTicker_ItemCommand(ByVal source As Object, ByVal e As .WebControls.DataGridCommandEventArgs) Handles dgTicker.ItemCommand Right now it works perfectly except the xml isn’t rss friendly as I missed out the tag in the original code. I want to amend this bit of code to update an xml file.
0 Comments
Leave a Reply. |