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

Your manager has asked you to describe what you would use application variables for. What statement best describes the use of application variables? a) Application Variables are used to keep state for each connected user. b) Application Variables are used to keep state for the web site c) Application Variables are used to keep state for the application on the server d) Application Variables are used to keep state for all applications objects in the web site.

1 Answers   Syntax Softtech,


To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?

1 Answers  


Difference between ASP Session and ASP.NET Session?

2 Answers  


difference between caching objects in session objects?

2 Answers  


Explain current thinking around IClonable.

1 Answers   Infosys, Wipro,






What is the use of location tag in web.config file

2 Answers   Karur Vysya Bank KVB,


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.

1 Answers   Wipro, MS Technosoft,


what is the difference between server.Transfer and response.redirect in .net

1 Answers  


How we can kill our Session in web farm where there is no any sticky server .And user can not Logout bcoz of that.

3 Answers  


• What Session State providers are available in ASP.NET? What are the pros and cons of each?

2 Answers   Infosys,


What is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser.

8 Answers   HCL, IBM, Syntax Softtech, Vypin, WideVision Technologies,


After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler doesn?t execute. What could be the problem be? a) The AutoEventWireup attribute is set to False b) The AutomaticPostBack attribute is set to False c) The codebehind module is not properly compiled d) The ListBox must be defined WithEvents.

2 Answers   Syntax Softtech,






Categories