Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing Gridviews With Paging
Message
From
08/05/2006 22:31:01
 
 
To
08/05/2006 21:23:06
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
WebForms
Miscellaneous
Thread ID:
01120221
Message ID:
01120233
Views:
18
Hi, Rex...

The GridView contains a design-time property called SelectedDataKey – you can set it to a unique identifier based on the PK of the data being edited. So if it's orderID, you'd set the value of SelectedDataKey to "orderID". And then at runtime...
int nOrderID =  (int)this.MyGrid.SelectedDataKey.Values["OrderID"]; 
let me know if that helps...
Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform