I have a Template Field in the Grid View so that when you view it normally it displays the State Name which comes from the State table and when you edit it shows a DDL populated with everything from the State table.If I debug, inside of Row Updating, Grid View Update Event Args. Question: How do I let my gridview know I want it to update this column? it shows null value when i trace the codings and how to get the checkbox value bec it doesnt know how to get value whether the check box is checked or not so if u knw just infrm me Thank you so much for helping til now... second to get checkbox value first u need to get the checkbox reference that ur not getting.(u r getting null there)u have reference to that control .u can check the value simply by... second to get checkbox value first u need to get the checkbox reference that ur not getting.(u r getting null there)u have reference to that control .u can check the value simply by... Find Control("chk_cdrw"); here the check box chk_cdrw value doesnt set for the varibale cdrw..
However, when the grid actually appears on the page, it has the original number of rows, not the new number. Dan did u try this are you binding your grid view in the update event in the Code behind Even though if u dont see the result bind it in the Page Pre Render event which will happen after event handling.All, This is supposed to be simple, but I cannot figure out why it is not working. Here is the code: Updating and binding control to other controls within the same row of a Grid View Hi In the Edit Template of my Grid View I show 2 Drop Down Lists. When I update (or attempt to), I see know error, but the gridview still does not udpate.And this method is called on every postback and load your Grid View with the old values and the updated values is wash out from the control. I am already doing what you suggest in that Bind Job Calls Grid() is only called ! Also, I have searched my code to verify that Bind Job Calls Grid is not getting called inadvertently any other times.If you want to come out of this problem just change the page_Load method where you age calling method Bind Job Calls Grid(). Just bind your Grid View when you page is load first time. I can verify this by watching my log file scroll by.