sqldatasource SQLCommand Gridview dynamically change not working...

R

rogoflap

I have a SQLDatasource I created on a form. It is tied to the
GridView on that form.

I would like to dynamically change the SQLStatement based on some
criteria on the form.

It seems to always revert back to the Design View SelectCommand set in
Design mode.

I even set it in code and rebind, but when the page is reposted it
reverts back.

Is this a bug?

Thanks,

Rogoflap
 

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

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top