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

What is the difference between response.redirect and server.transfer?

523


How can we use Web API with ASP.NET Web Form?

635


How can you dynamically add user controls to a page?

497


What is _dopostback in asp net?

516


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

630






Explain swagger components.

554


How can I create master page in asp net?

499


Differentiate between client-side and server-side validations in web pages.

547


Explain transparent caching with aop?

510


Define web.config in .net?

625


Is asp.net mvc front end or backend? : Asp.Net MVC

480


Explain the purpose of storyboard.targetproperty.

510


What are the asp.net list controls and difference between them?

500


Can you explain one critical mapping?

508


What is a query string in a url?

529