read keyfield value from selected row in datagrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mharness

    read keyfield value from selected row in datagrid

    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


  • Bob Barrows [MVP]

    #2
    Re: read keyfield value from selected row in datagrid

    mharness wrote:[color=blue]
    > 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[/color]

    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.publi c.dotnet.framew ork.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"


    Comment

    • mharness

      #3
      Re: read keyfield value from selected row in datagrid

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

      Mike

      "Bob Barrows [MVP]" <reb01501@NOyah oo.SPAMcom> wrote in message
      news:%23swiUm4r EHA.2136@TK2MSF TNGP14.phx.gbl. ..[color=blue]
      > mharness wrote:[color=green]
      >> 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[/color]
      >
      > 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.publi c.dotnet.framew ork.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"
      >[/color]


      Comment

      Working...