I have a Gridview bound to a datasource ds1 ...
The Gridview is setup for SELECT INSERT UPDATE DELETE ..
It works fine as long as teh datasource returns at least one row ...
When there is no row .. nothing displays at all ... Well I have an "Add" or "Insert" button available for the user to add a row ... but nothing shows up! ..
When I put a dummy blank record in the database table .. the gridview shows up .. I wanted to use this easy way out .. but my boss does not want all those blank dummy rows in the database table ...
How can I get aroound this zero record scenario. The bound datasource really saves a lot of coding .. but I an stuck with the zero ( no row) scenario ...
Any help with how to get around it?
The Gridview is setup for SELECT INSERT UPDATE DELETE ..
It works fine as long as teh datasource returns at least one row ...
When there is no row .. nothing displays at all ... Well I have an "Add" or "Insert" button available for the user to add a row ... but nothing shows up! ..
When I put a dummy blank record in the database table .. the gridview shows up .. I wanted to use this easy way out .. but my boss does not want all those blank dummy rows in the database table ...
How can I get aroound this zero record scenario. The bound datasource really saves a lot of coding .. but I an stuck with the zero ( no row) scenario ...
Any help with how to get around it?