Ok,
I'm playing with my first ASP.NET page, it is just a test page so I can familiarise myself with building Web Applications in VB.Net.
I have the page linked to an Access Databse, and I can get the data out fine.
I have a listbox bound to a table, and then a Dataview selecting the currently selected record in the listbox and displaying the field details in textboxes databound to the davaview.
How can I update the data in the databse?
I can change the field values, but if i select another item from the list, and then go back the changes have not been saved. I assume I need some code to save the new field value back into the databse, but I dont have a cluse what it is.
---
A side question, I need to select data from two tables, and currently have two sqlDataAdapters, each one selecting the data from differant tables. Is there any way I could select the data with just the one?
I am a proficient programmer, but I want to take full advantage of VS.Net and I am trying to do everything visually using the GUI to get a feel for how everything looks and feels (I find developing in a GUI much easier than writing loads of unnececary code).
I'm playing with my first ASP.NET page, it is just a test page so I can familiarise myself with building Web Applications in VB.Net.
I have the page linked to an Access Databse, and I can get the data out fine.
I have a listbox bound to a table, and then a Dataview selecting the currently selected record in the listbox and displaying the field details in textboxes databound to the davaview.
How can I update the data in the databse?
I can change the field values, but if i select another item from the list, and then go back the changes have not been saved. I assume I need some code to save the new field value back into the databse, but I dont have a cluse what it is.
---
A side question, I need to select data from two tables, and currently have two sqlDataAdapters, each one selecting the data from differant tables. Is there any way I could select the data with just the one?
I am a proficient programmer, but I want to take full advantage of VS.Net and I am trying to do everything visually using the GUI to get a feel for how everything looks and feels (I find developing in a GUI much easier than writing loads of unnececary code).