Updating gridview rows using sqldatasource

Rated 3.97/5 based on 890 customer reviews

The Data View supplies all the records from the Employees table.

In this article, we have seen some of the advance usages of Sql Data Source control which makes the control usage effective in those scenarios.There is an event called “onselected” event which gets raised after every database select operations.This event exposes a property called Affected Rows that returns number of rows selected.I have created a table called CD_Users to demonstrate the Sql Data Source control usages in this article.Drag a Sql Data Source control and a Grid View control from the “Data” tab of Visual Studio toolbar.

Leave a Reply