Updating is not supported by data source sqldatasource1 unless updatecommand dating in michigan
I do not see a variable named Sql Data Source1 in your code.The only recommendation I have for your right now is to make sure that your Data Source allows you to perform a delete.Basically I have tried to make the normal Add (Insert), Edit, Update and delete functions in ASP.
We have explored the basics and adding paging feature to List View control through my previous articles List View Control in ASP. Like my previous articles on List View control, we will add this feature in 2 scenarios.
The reason to use a custom button is to provide the Java Script confirmation box to the user when he clicks Delete.
For Edit and Update I have added a command field which will act as the 5As discussed above I have placed 3 textboxes and a button in the Footer Row of the ASP.
Our next step in learning List View Control is to add edit/update/delete/insert feature to the List View control.
In Grid View, the Edit/Update/Delete feature is an inbuilt one and can be achieved without writing a line of code with the help of Data Source controls.