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 the benefit of WebAPI over WCF?

0 Answers  


How dataadapter.fill works?

0 Answers  


which directive is mandatory in page control

3 Answers   AG Technologies,


Types of values mode can hold session state in web.config ?

1 Answers   Accenture, Parrot Systems,


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  






What are the disadvantages of view state / what are the benefits?

2 Answers   Siebel Systems,


How would you enable impersonation in the web.config file?

0 Answers  


In your web.config file which attribute of <Globalization> element identifies the default culture that will be used for web request?

1 Answers  


What are Session states available and its Uses?

0 Answers   CTS, iLogic,


Explain the difference between webfarm and webgardens in .net?

0 Answers  


How to send data through querystring to another page but it should not be displayed in URL

2 Answers   EMR, Powersoft19,


How can you assign styles to webforms?

2 Answers   Microsoft,


Categories