Gridview binding on Page_Load

K

kevin

Hi, for kicks in Studio 05 I have set up a small site using all built
in controls, so I configured a connection and gridview with editing
enabled. The goal is the user loads the page selects from a drop down
and fills the gridview on postback. Because I'm not useing any code to
do this the connection is expecting a variable for the query for the
grid when the page loads. How can overide this and get the grid to
wait until the drop down is fired. I know I can give the drop down a
value that does not return anything when the page loads but thats no
good.

If I was using code I would simply run the query and bind the grid in
the ddl index changed event. Thanks for any input. KD
 

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

Top