Row updating in gridview in asp net c

6854933580_2c8b688306_z

Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.

If image format is correct then put break point at "Insert New Record" method and debug you application and tell me what error generated now.One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").event is raised when a row's Update button is clicked, but before the Grid View control updates the row. Edit Index = -1; after debugging code with breakpoint this it goes back to page and it shows gridview with below and if I want change quantity=67 and click update .Save all or press "Ctrl S" and hit "F5" to run the page, the page will look as in the following image: Click on "Edit the Grid View", it will display Textboxes in each cell as in the following image: Edit the value(s) here and click on the Update link, it will update all the data or to remove it click on the "Delete" link above the image shown. When I Filter the data using dropdown selected Index Changed event the gridview shall load data based on what is searched.

You must have an account to comment. Please register or login here!