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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top