|
|
|
start date: Mon, 18 Jun 2007 22:51:00 -0700,
posted on: microsoft.public.dotnet.framework.aspnet.datagridcontrol
back
GridView Hide empty row (vb)
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!
Date:Mon, 18 Jun 2007 22:51:00 -0700
Author:
|
RE: GridView Hide empty row (vb)
oops...i meant "gridview" control in the first sentance, not datagrid.
"labsRcool@community.nospan" wrote:
> 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!
>
Date:Wed, 20 Jun 2007 00:36:01 -0700
Author:
|
|
|