Multiple Database Connection Strings

M

Mark Richards

I am starting to test out using the new gridView, FormView controls with a
ObjectDataSource, BUT, my application allows the user to select which
database they want to work out of. I am storing multiple connection strings
in the web.config, and I can normally determine which one to use by a value
stored in Session, however, the class used by the ObjectDataSource doesn't
seem to have access to Context. Is there any way to get access to Context
(and thus Session) in that class ?

Thanks,
Mark Richards
 

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