![]() Alternatively, the SqlDataSource can be used in place of the ObjectDataSource. An Overview of Inserting, Updating, and Deleting examined using the ObjectDataSource to facilitate inserting, updating, and deleting with the GridView, DetailsView, and FormView controls. These data modification capabilities can be plugged directly into a data source control without a line of code needing to be written. IntroductionĪs discussed in An Overview of Inserting, Updating, and Deleting, the GridView control provides built-in updating and deleting capabilities, while the DetailsView and FormView controls include inserting support along with editing and deleting functionality. ![]() The SqlDataSource control supports the same operations, but the approach is different, and this tutorial shows how to configure the SqlDataSource to insert, update, and delete data. ![]() In previous tutorials we learned how the ObjectDataSource control allowed for inserting, updating, and deleting of data.
0 Comments
Leave a Reply. |