Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Empty datasource GridView problem

Thread Tools

Empty datasource GridView problem
Posts: n/a

I'm using a gridview in my project and its footer to add new records.
The gridview is connected to an AccessDataSource which contains select,
insert and delete commands.

The problem occurs when the AccessDataSource is empty, the gridview
won't show at all, not even the footer so I can't add new data.

I know I can give up on the footer and just create somelike myself
which will look like it but I don't like this solution or others that
go around the problem.
How do you suggest I show the footer when the AccessDataSource is

I'd really appreciate your help.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show an empty GridView when DataSet is datasource? JB ASP .Net 0 09-21-2009 09:37 PM
Empty gridview cells and checking for empty string Savvoulidis Iordanis ASP .Net 1 09-05-2008 06:15 AM
Gridview sorting event - Gridview Datasource always Null .. why??? jobs ASP .Net Web Controls 2 10-24-2006 07:08 AM
how to force display of datagrid with empty datasource =?Utf-8?B?Y2FyYmFsbG9zYQ==?= ASP .Net 2 05-19-2005 05:29 PM
How to Stop the DataGrid Displaying when DataSource Is empty? =?Utf-8?B?aG9seQ==?= ASP .Net 1 04-14-2004 09:08 AM