I have a DataGrid in which two of the columns are
editable...i want to update the backend table with the newly
edited data of the datagrid. How to do this please help me.

Answer Posted / sunny

use autogenerate edit button property of GridView to create
buttons for updating the field in the GridView. The edit
button on click generates two buttons update and cancel.
Specify UpdateCommand for the update button specifying the
update query for the table to modify.The update button on
click will update the backend table in the database.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain repository pattern in asp.net mvc? : asp.net mvc

716


How would you turn off cookies on one page of your website?

720


Which protocol is used to call a web service?

773


Explain about the Class view window?

778


What is the significance of attaching a profile while creating a user?

755


What are the differnt types of handler in ASP.NET?

725


What is the difference between rest and restful?

767


How long the items in ViewState exists?

1174


What are the authentication types in asp.net?

772


What is the difference between asp.net and mvc?

801


What are session cookies?

748


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

813


What is an example of an application service provider?

643


What are html helpers in asp.net?

759


How does session work in asp net?

753