Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make GridView visible at runtime without a datasource set.

Status
Not open for further replies.

Curtis360it

IS-IT--Management
Nov 7, 2005
88
0
0
US
I have a GridView that will not have a DataSource until a dataset is created upon a button click. When I run the webform the Gridview never shows.... any ideas?
 
It should show just the header, if you have show header set to TRUE.
 
Sorry I was wrong. Just create a datatable with columns defined, but no rows, and that should get the gridview to show with just the header row.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top