Table Adapters

Discussion in 'ASP .Net' started by Roger, Nov 16, 2007.

  1. Roger

    Roger Guest

    hi all

    I have this line of code
    KomfireTableAdapter Komfire = new KomfireTableAdapter
    estimator.KomfireDataTable.....
    I want the parts in brackets to be a variable
    (Komfire)TableAdapter Komfire = new (Komfire)TableAdapter
    estimator.(Komfire)DataTable table = (Komfire).getdata...............

    So Komfire need to be variable
    can that be done?
     
    Roger, Nov 16, 2007
    #1
    1. Advertisements

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. Bennett Haselton
    Replies:
    0
    Views:
    350
    Bennett Haselton
    Oct 21, 2004
  2. darrel
    Replies:
    0
    Views:
    491
    darrel
    Jan 30, 2007
  3. Replies:
    0
    Views:
    521
  4. Max2006
    Replies:
    4
    Views:
    737
    Max2006
    Jul 17, 2007
  5. Max2006
    Replies:
    6
    Views:
    647
    Steven Cheng[MSFT]
    Aug 22, 2007
  6. dgk
    Replies:
    4
    Views:
    827
  7. Roger

    Table Adapters

    Roger, Nov 16, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    397
    Scott Roberts
    Nov 16, 2007
  8. Munna

    Re: table adapters

    Munna, Jun 18, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    447
    Microsoft Newsserver
    Jun 18, 2008
Loading...