CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    116

    Smile GridView1 Index Value!!!

    Hi ,

    I am using GridView1 in web application. I have populated data in the GridView control now I want to get index value when user clicks on the row of GridView.

    Please provide me sample code.

    (GridView1_RowDataBound) this even can work?

    Thanks

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: GridView1 Index Value!!!

    Look at MSDN, they have a complete example of GridView control
    http://msdn.microsoft.com/en-us/libr...lectedrow.aspx

  3. #3
    Join Date
    Mar 2007
    Posts
    116

    Unhappy Re: GridView1 Index Value!!!

    This Artical is Not helping Ali...

  4. #4
    Join Date
    Jan 2009
    Location
    Cochin, India
    Posts
    40

    Smile Re: GridView1 Index Value!!!

    That article seems to be quiet clear and works for me. Could you be more specific with your need? If you could post some of your code we can see specifically where you may be going wrong and help you.

    Quote Originally Posted by Frank100 View Post
    This Artical is Not helping Ali...
    Warm Regards,
    Jay
    Support Resort
    http://www.supportresort.com
    Bringing offshore expertise to the world

  5. #5
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: GridView1 Index Value!!!

    Quote Originally Posted by Frank100 View Post
    This Artical is Not helping Ali...
    I think you need to be clear about what exactly you are trying to do. The article clearly shown how to get the selected row from the gridview.

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

Featured