Why does DataGrid1.Columns.Count give me zero?

Discussion in 'ASP .Net Web Controls' started by aaa, Oct 29, 2004.

  1. aaa

    aaa Guest

    Even if I step through AFTER I call:
    DataGrid1.DataBind();

    int mycount = DataGrid1.Columns.Count
    mycount is zero.

    WHY? This is rediculous the grid builds great with FOUR columns??

    TB
    aaa, Oct 29, 2004
    #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. JIM.H.

    if there is data in DataGrid1

    JIM.H., Apr 25, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    359
    JIM.H.
    Apr 25, 2005
  2. Replies:
    1
    Views:
    309
    Victor Bazarov
    Dec 28, 2004
  3. Andy Yang
    Replies:
    1
    Views:
    284
    Victor Bazarov
    Dec 28, 2004
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,762
    Smokey Grindel
    Dec 2, 2006
  5. grocery_stocker
    Replies:
    10
    Views:
    612
    Keith Thompson
    May 25, 2005
Loading...

Share This Page