GridView Hide empty row (vb)

L

labsRcool

Hi,

I have read several resources on the internet and MSFT newsgroups on how to
insert data using the footer in the datagrid control.

To solve the empty data set problem, I added a blank row in the datasource
select statement, using the union command to create the additional blank row,
making the footer visible.

My last step is where I am stuck. I need to hide that "blank row" that I
created.
I have read examples using c#.net, but i'm using asp.net with VB not c#.

I have also read references to using the detailsGrid in the
"emptydatatemplate" and binding to the same datasource. I don't believe this
would work for me because I would want the inserted fields to be in the same
format, not the "two column" format of the details grid. (Though I admit the
details grid may have more formating capablities than I know).

Thanks for your help in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,483
Latest member
TedDvb6626

Latest Threads

Top