Finally, we have completed the combination of the gridview and objectdatasource. if you want to delete it, You can delete it. If you want to modify it, you can modify it. the result is deleted. oh, oh. not entered. this is not acceptable. you cannot enter data in the database. well. in this case, use objectdatasource to implement certain input.
Create an interface first
Oh. Does the added interface need to create a table as before? What do you mean by that.
Here I use
The first detailsview here
However, it is read by default. How can this problem be solved.
Set this attribute to insert
This is the same as above.
In the next step, you can bind your detailsview to the objectdatasource associated with the gridview. Because we have already completed the insert method, we can directly use it here.
Http://www.cnblogs.com/Lileltp/archive/2008/09/05/1285180.html
Similarly, you can use formview to implement the input content here.