GridView Hide empty row (vb)

Discussion in 'ASP .Net Datagrid Control' started by labsRcool@community.nospan, Jun 19, 2007.

  1. Guest

    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!
    , Jun 19, 2007
    #1
    1. Advertising

  2. Guest

    oops...i meant "gridview" control in the first sentance, not datagrid.

    "" 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!
    >
    , Jun 20, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. H5N1
    Replies:
    0
    Views:
    2,715
  2. Replies:
    5
    Views:
    657
  3. =?Utf-8?B?aWdvdHlvdXJkb3RuZXQ=?=

    change row color of empty row

    =?Utf-8?B?aWdvdHlvdXJkb3RuZXQ=?=, Oct 19, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    449
    Walter Wang [MSFT]
    Oct 24, 2006
  4. UJ
    Replies:
    1
    Views:
    129
  5. Empty results hide GridView headers

    , Oct 23, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    642
    David Thielen
    Oct 24, 2006
Loading...

Share This Page