Get datakey from gridview rowupdating chemistry com dating

I'm approaching this by writing some code for the Grid View's Row Updating event.

The problem is I don't know how to access those checkboxes that were generated by the Repeater, so I'm not getting very far.

Someone have an idea where the controls in the Grid View are re-created and when the controls are repopulated from the view State ?

This sample of code works fine for every control except for the grid View.

ASP drives me nuts, can someone please point me to what I am sure is a one line simple solution. "Grid View2" runat="server" Back Color="Light Goldenrod Yellow" Border Color="Tan" Border Width="1px" Cell Padding="2" Fore Color="Black" Grid Lines="None" Page Size="50" Auto Generate Columns="False" Data Key Names="Import ID" Data Source ID="Sql Data Source1" onrowupdated="Grid View2_Row Updated" Visible="False" onrowcommand="Grid View2_Row Command" onrowupdating="Grid View2_Row Updating" I figured out what my problem was, I have two gridviews and the line I put in was referencing gridview1.

That is why I probably shouldn't use the default control names and use something more descriptive.

Everything works fine, selecting the row to edit, updating the row.

When I finish editing the row, I rebind the datagrid because I want the record that was just edited to drop of the grid.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “get datakey from gridview rowupdating”

  1. cctrl=public,max-age=518400&quality=90&imagesource=IMLFOH&mark=1&watermark=0&width=422&height=315&filename=0206/292206/292206O1512093131.jpg" data-r-id="10" data-price-id="5" data-price="3.8" data-is-hh="False" data-is-online="true" data-bio-page="/live-sex-chat/cam-girls/BARBIEWILD" data-freechaturl="" data-is-auto-play="false" data-is-room-full="False" //i0.wlmediahub.com/imagesrv/imp_getimage?