Sexwebcam no registration - Gridview rowupdating textbox empty

by  |  21-May-2017 10:22

To populate the Grid View, I am calling Bind Data() method from Page_Load event after checking Is Post Back property of the page, so the Grid View will only be populated when there is no postback on the page (when the page loads for the first time).

gridview rowupdating textbox empty-30

A datakey represents the primary key field or field of a record that can uniquely identify it in a data-bound control. Row Index represents the index of the particular row.

Many a times in our applications we use primary keys to get control of the particular record in the gridview.

In this method, I am specifying the Edit Index property of the Grid View to the New Edit Index of the Grid View and then calling Bind Data() method again to bind the data.

Please note that when you will not bind the data again, Grid View will not change in edit mode.

This article scope is limited to Updating and Deleting records using Grid View and I am not using any readymade Data controls for that but manually writing all event methods.

Community Discussion