Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > read keyfield value from selected row in datagrid

Reply
Thread Tools

read keyfield value from selected row in datagrid

 
 
mharness
Guest
Posts: n/a
 
      10-11-2004
Hello,

I'm new at this. Thanks for your help.

I have form which displays a customer record and a datagrid of that
customer's orders. I want to read the value of the OrderID (which is the
keyfield), write it to a session variable, redirect to another form where I
read the session variable and display the order detail.

How do I read (using VB) the OrderID value when the user clicks on a select
button in a particular row of the datagrid?

Mike


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting on a DataField (not KeyField) Xarky ASP .Net Datagrid Control 2 04-12-2005 06:01 AM
How to add a new row to a datagrid with values of the selected row =?Utf-8?B?U3VyZXNo?= ASP .Net 1 11-22-2004 09:04 AM
read keyfield value from selected row in datagrid mharness ASP General 2 10-11-2004 11:33 AM
DataGrid. How to keep the right keyfield value when Sort the DataGrid? Eugene ASP .Net 0 09-28-2004 05:15 PM
Datagrid: get value from the row selected by user Northern ASP .Net 1 07-22-2003 08:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57