How to get first & Last visible Row in VB?

Discussion in 'ASP .Net Datagrid Control' started by Thunder, Jul 23, 2003.

  1. Thunder

    Thunder Guest

    In C#,I know the way to get:
    void EnsureRowVisible(DataGrid grd, int Row)
    {
    int FirstVisibleRow = (int)grd.GetType().GetField("m_irowVisibleFirst",
    BindingFlags.NonPublic|BindingFlags.GetField
    |BindingFlags.Instance).GetValue(grid);
    int LastVisibleRow = (int)grd.GetType().GetField("m_irowVisibleLast",
    BindingFlags.NonPublic|BindingFlags.GetField|BindingFlags.Instance).GetValue
    (grid);
    //grid is the visible datagrid control
    }

    But,how it be done in the Vb.Net ?
    Thunder, Jul 23, 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. Paul
    Replies:
    1
    Views:
    2,268
    Hermit Dave
    Jul 11, 2008
  2. D
    Replies:
    0
    Views:
    205
  3. Walt Zydhek

    GridView Totals Row as First Row

    Walt Zydhek, Jan 15, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    901
    Alvin Bruney [MVP]
    Jan 17, 2007
  4. Selected Row Only GridView Row Visible?

    , Oct 17, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    293
  5. Stefan Mueller
    Replies:
    4
    Views:
    96
    Stefan Mueller
    Nov 3, 2005
Loading...

Share This Page