How do you find out the value of a cell in another row?

Discussion in 'ASP .Net Datagrid Control' started by Bernard O'Flynn, Sep 17, 2003.

  1. Hi
    I have the following Datagrid:
    Attempts Result
    1 Exam1 Button 1 Pass
    2 Exam2 Button 2 Fail
    3 Exam3 Button 3 -

    There is a ExamId that is part of the dataset that is bound to the datagrid.
    When the user clicks the button they get taken to a page to take the exam.
    How do I
    a) determine which button is clicked - the button is generated using a
    button column
    b) disable the button is the previous exam hasn't been passed yet.
    i.e. The button to take Exam 2 is only enabled if the user has passed Exam
    1.

    Thanks in advance
    Bernard
     
    Bernard O'Flynn, Sep 17, 2003
    #1
    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. Andrew Jocelyn
    Replies:
    2
    Views:
    1,547
    Allen Chen [MSFT]
    Apr 27, 2009
  2. SWu
    Replies:
    0
    Views:
    141
  3. Empire City
    Replies:
    3
    Views:
    426
    Empire City
    Apr 30, 2004
  4. Thomasa Gregg
    Replies:
    1
    Views:
    172
    Eliyahu Goldin
    Jun 9, 2004
  5. Cylix
    Replies:
    0
    Views:
    118
    Cylix
    Jun 13, 2006
Loading...

Share This Page