Event rowupdating which Chatprivat

New Values["change_message"] = "Change updated on and archived."; else if ((Boolean)View State["Name Changed"]) e. Sql Client" Select Command="select * from [spiderwebs_region] order by name " Update Command="Update Region With History" Update Command Type="Stored Procedure" Delete Command="Delete Region With History" Delete Command Type="Stored Procedure" On Inserting="Sqldatasource1_Inserting" On Inserted="Sqldatasource1_Inserted" Insert Command="Insert Region With History" Insert Command Type="Stored Procedure" Hi payalp, I suggest you assign the values to parameters directly in Row Updating event: Sql Data Source1. New Values["action_flag"] = action_flag.updated; if ((Boolean)View State["Is Archived"]) e. Events are the beating heart of any Java Script application.

Hi payalp, The Update Parameters names are not equal to the names of New Values in Row Updating event. Code behind: protected void Grid View1_Row Updating(Object sender, Grid View Update Event Args e) { int index = e. Now; //TODO To get value of userid from session object. New Values["change_message"] = "No fields changed."; Grid View1. New Values["content_type_id"] = View State["contenttypeid"]; e. New Values["change_message"] = "Change updated on and Name."; else e. Data Bind(); } protected void Grid View1_Row Updating(Object sender, Grid View Update Event Args e) { int index = e. Sql Client" Select Command="select * from [spiderwebs_region] order by name " Update Command="Update Region With History" Update Command Type="Stored Procedure" Delete Command="Delete Region With History" Delete Command Type="Stored Procedure" On Inserting="Sqldatasource1_Inserting" On Inserted="Sqldatasource1_Inserted" Insert Command="Insert Region With History" Insert Command Type="Stored Procedure" Code Behind: protected void Page_Load(object sender, Event Args e) { Grid View1.

Row Index; Grid View Row currentrow = ((Grid View)sender).

Rows[index]; Text Box txtbox = (Text Box)currentrow.

Find Control("Edit Region Name"); Check Box isarchive = (Check Box)currentrow.

When I remove the databind method, the grid shrinks after update button is clicked (or on postback).

Find Control("Edit Region Name"); Check Box isarchive = (Check Box)currentrow.

If they are not equal, values cannot be assigned to the update command. Rows[index]; Text Box txtbox = (Text Box)currentrow.