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.



I have a DataGrid in which two of the columns are editable...i want to update the backend table wit..

Answer / 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

More ASP.NET Interview Questions

What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?

3 Answers   TCS,


What are session variables?

2 Answers   Microsoft,


what are partial classes and their use?

1 Answers   Patni,


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

0 Answers  


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers   Perot Systems, Visual Soft,






Explain Optimization technique description?

0 Answers   Digital GlobalSoft,


One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part

1 Answers   WebInfo,


What is a 404 redirect?

0 Answers  


Explain About WebService

0 Answers   BirlaSoft,


Write a code snippet to implement the indentation in json in web api.

0 Answers  


Explain about Application and Session Events ?

0 Answers  


Difference between web.config and app.config?

3 Answers   ITC Infotech, Jenesys Technologies,


Categories