ASP.NET 2.0 Strongly Typed TableAdapters question

Discussion in 'ASP .Net' started by rswafford@gmail.com, Jul 19, 2006.

  1. Guest

    Hi, I am beginning to rewrite an application in ASP.NET 2.0, and I want
    to utilize strongly typed TableAdapters for my data access layer.
    However the database that gets queried is not known until the user is
    logged in -- each client using this application has their own database
    on my company's server.

    I know that the SqlConnection object in C# has a ChangeDatabase()
    method that allows you to specify what database to connect to at
    runtime -- is there similar functionality available through
    TableAdapters? All the databases will have the same schema, just
    different names.

    If this sort of functionality is not supported, what alternatives could
    you suggest that would work for this sort of situation?

    Thanks in advance...
    , Jul 19, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Narayanan Sankaranarayanan

    Custom Namespace For Strongly Typed DataSet

    Narayanan Sankaranarayanan, Dec 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,082
    Narayanan Sankaranarayanan
    Dec 15, 2004
  2. Imran

    Strongly Typed dataset

    Imran, Jan 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    564
    Richard A. Lowe
    Jan 23, 2004
  3. =?Utf-8?B?U2NvdHRfZnJvbV9DYXJlbWF0aWM=?=

    allow nulls in strongly typed data set asp.net

    =?Utf-8?B?U2NvdHRfZnJvbV9DYXJlbWF0aWM=?=, Jun 14, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    3,527
    =?Utf-8?B?U2NvdHRfZnJvbV9DYXJlbWF0aWM=?=
    Jun 14, 2006
  4. Ted Ngo
    Replies:
    6
    Views:
    6,698
    jayeshkitukale
    Jun 20, 2008
  5. ThatsIT.net.au

    Strongly typed datasets ASP.NET

    ThatsIT.net.au, Mar 28, 2009, in forum: ASP .Net
    Replies:
    5
    Views:
    2,351
    Mr. Arnold
    Mar 28, 2009
Loading...

Share This Page