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

best .net institute in hyderabad

7 Answers  


Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form

3 Answers   Syntax Softtech,


How to limit table cell size with long strings?

1 Answers   IBS,


With example & diagram explain AutoPostBack.

2 Answers  


Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?

1 Answers  






About Usage of server variables ?

2 Answers   CTS, Cognizant,


How does the browser enable AutoPostBack functionality?

2 Answers  


What is Boxing and Unboxing?

7 Answers   IBM, Tech Mahindra, Accenture,


What is the need to give <compilation debug=true> command ?

3 Answers   Netsweeper,


Caching techniques in .NET?

2 Answers   Microsoft,


How to retrieve data row by row from a DataTable? Thanks In advance PriyaPP

3 Answers  


What does this do? sn -t foo.dll

3 Answers  






Categories