read keyfield value from selected row in datagrid

Discussion in 'ASP General' started by mharness, Oct 11, 2004.

  1. mharness

    mharness Guest

    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 the OrderID value when the user clicks on a select button in a
    particular row of the datagrid?

    Mike
    mharness, Oct 11, 2004
    #1
    1. Advertising

  2. mharness

    mharness Guest

    Sorry about that. Thanks for pointing me in the right direction.

    Mike

    "Bob Barrows [MVP]" <> wrote in message
    news:%...
    > mharness wrote:
    >> 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 the OrderID value when the user clicks on a select
    >> button in a particular row of the datagrid?
    >>
    >> Mike

    >
    > There was no way for you to know it, but this is a classic asp newsgroup.
    > While you may be lucky enough to find a dotnet-savvy person here who can
    > answer your question, you can eliminate the luck factor by posting your
    > question to a group where those dotnet-savvy people hang out. I suggest
    > microsoft.public.dotnet.framework.aspnet.
    >
    > --
    > Microsoft MVP - ASP/ASP.NET
    > Please reply to the newsgroup. This email account is my spam trap so I
    > don't check it very often. If you must reply off-line, then remove the
    > "NO SPAM"
    >
    mharness, Oct 11, 2004
    #2
    1. Advertising

  3. mharness wrote:
    > 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 the OrderID value when the user clicks on a select
    > button in a particular row of the datagrid?
    >
    > Mike


    There was no way for you to know it, but this is a classic asp newsgroup.
    While you may be lucky enough to find a dotnet-savvy person here who can
    answer your question, you can eliminate the luck factor by posting your
    question to a group where those dotnet-savvy people hang out. I suggest
    microsoft.public.dotnet.framework.aspnet.

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows [MVP], Oct 11, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Northern
    Replies:
    1
    Views:
    4,984
    Greg Burns
    Jul 22, 2003
  2. Eugene
    Replies:
    0
    Views:
    481
    Eugene
    Sep 28, 2004
  3. =?Utf-8?B?U3VyZXNo?=
    Replies:
    1
    Views:
    464
    Saravana
    Nov 22, 2004
  4. Charles Shao
    Replies:
    1
    Views:
    400
    Eliyahu Goldin
    Apr 18, 2005
  5. mharness

    read keyfield value from selected row in datagrid

    mharness, Oct 11, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    110
    mharness
    Oct 11, 2004
Loading...

Share This Page