Datagrid does not display

Discussion in 'ASP .Net Datagrid Control' started by mholli, Oct 22, 2003.

  1. mholli

    mholli Guest

    I have an ASPX page and the datagrid does not display even though I have a dataset set for datasourse and have tried rebind. Any suggestions?
    mholli, Oct 22, 2003
    #1
    1. Advertising

  2. mholli

    Alvin Bruney Guest

    The datagrid only shows up if the datasource has at least one row
    before you bind do this
    if(ds != null && ds.Tables[0].Rows.Count > 0)
    bind

    --


    -----------
    Got TidBits?
    Get it here: www.networkip.net/tidbits
    "mholli" <> wrote in message
    news:...
    > I have an ASPX page and the datagrid does not display even though I have a

    dataset set for datasourse and have tried rebind. Any suggestions?
    Alvin Bruney, Oct 23, 2003
    #2
    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. Mervin Williams

    DataGrid does not display?

    Mervin Williams, Apr 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    368
    William Ryan eMVP
    Apr 19, 2004
  2. Imran Aziz
    Replies:
    4
    Views:
    1,511
    Imran Aziz
    Aug 11, 2005
  3. sunny
    Replies:
    5
    Views:
    309
    Clever Monkey
    Sep 20, 2006
  4. Mervin Williams

    DataGrid does not display?

    Mervin Williams, Apr 19, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    123
    William Ryan eMVP
    Apr 19, 2004
  5. sed_y
    Replies:
    0
    Views:
    1,011
    sed_y
    Feb 15, 2012
Loading...

Share This Page