Change SelectCommand

D

David C

I have a SqlDatasource SelectCommand string that I want to use a multi-table
view when in read-only (ItemTemplate) mode and a single table when in edit
(EditItemTemplate) mode. Is Page_Load the best place to do this or do I
need to do it prior to Page_Load? Thanks.

David
 

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
473,754
Messages
2,569,516
Members
44,974
Latest member
MartaWillc

Latest Threads

Top