Results 1 to 2 of 2

Thread: [2005] Selecting specific cell in gridview

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    [2005] Selecting specific cell in gridview

    How do I get the value of a specific cell in a grid view

    I want the action to happen after I click on the gray cell like shown in the picture
    Attached Images Attached Images  

  2. #2
    Addicted Member
    Join Date
    Sep 2007
    Location
    Right behind you
    Posts
    170

    Re: [2005] Selecting specific cell in gridview

    Grid.Rows.Item(1).Cells("ComplainID").Value

    i think it also works as

    Grid.Rows(1).Cells("ComplainID").Value

    Here it says ComplainID, its the actual name of the column no the headertext, and you can also use a numeric value, as to say, if you know its the fifth columns on base 0 you will put a 4.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width