Well all your trying to do is display a gridview on the page, then postback
and bind to it to fill it once a button click occurs. To display an empty
one - it needs to have data, which could as easily be spaces as your actual
data.
Create a dynamic dataset and bidn it on the fly.
http://www.dotnetbips.com/articles/727f44ea-8183-4bef-a26d-727ee6324f8c.aspx
When your button click occurs, bind it to your actual data instead.
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
>> Why can't you bind it with something like a piece of XML with spaces as
>> its
>> content
>
> I'm not real sure what you are getting at it exactly?
Doogie - 20 Jul 2007 04:33 GMT
>To display an empty
> one - it needs to have data, which could as easily be spaces as your actual
> data.
I get it now...thanks I'll give that a try.