Select a row from a DataGrid1 by passing a QueryString variable

Discussion in 'ASP .Net Datagrid Control' started by David Dimmer, Apr 20, 2004.

  1. David Dimmer

    David Dimmer Guest

    I can not seem to get the row index in my datagrid containing the
    string id I pass in. Any suggestions?

    I know once I know the row index I will use:
    DataGrid1.SelectedIndex = [rowID];

    How do I find the rowID and mark it selected?

    Sincerely,
    David Dimmer

    _________FYiN__________
    B: 414.298.3009
    M: 414.688.3941
    E:
    W: http://www.fyin.com

    Extreme Programming (XP); Test Driven Development (TDD); ASP.NET;
    C#.NET; VB.NET; Graphic Design; xHTML; HTML; XML; JavaScript; Object
    Oriented Programming (OOP); Flash; DreamWeaver; HomeSite; FrontPage;
    nUnit; nAnt; eCommerce; Web Hosting; Data Integration; ASPX; ASCX;
    ASP; CSS; sHTML;
     
    David Dimmer, Apr 20, 2004
    #1
    1. Advertisements

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. Fernando Lopes
    Replies:
    0
    Views:
    3,376
    Fernando Lopes
    Apr 28, 2005
  2. Ken Fine
    Replies:
    4
    Views:
    585
    Steven Cheng [MSFT]
    Jul 14, 2008
  3. Bobby Edward
    Replies:
    3
    Views:
    1,467
    Bobby Edward
    Jan 23, 2009
  4. SWu
    Replies:
    0
    Views:
    267
  5. D
    Replies:
    0
    Views:
    501
  6. Fredrik/Sweden
    Replies:
    3
    Views:
    270
    Tim Williams
    Oct 1, 2003
  7. Adeel Ahmad
    Replies:
    1
    Views:
    785
    Anthony Jones
    Mar 7, 2006
  8. Chris
    Replies:
    3
    Views:
    258
    Chris
    Nov 30, 2007
Loading...