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/7...ee6324f8c.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
"Doogie" <dn******@dtgnet.comwrote in message
news:11*********************@o61g2000hsh.googlegro ups.com...
>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?