How to check for a table

Discussion in 'ASP .Net Web Controls' started by JMehta, Jan 5, 2009.

  1. JMehta

    JMehta Guest

    Hi,

    I have a hyperlink field in a gridview that should only be visible if a
    table (mailboxactivitylog) exists in database (either the sql or access)
    bound to the gridview via datasource.

    How do I check if this table exists in a Page_Load section? I have a master
    page and the gridview is on the content page?

    --
    Thanks for your help.

    J Mehta
    JMehta, Jan 5, 2009
    #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. Davisro
    Replies:
    1
    Views:
    687
    Michael D. Ober
    Jun 14, 2004
  2. mit
    Replies:
    1
    Views:
    791
    Ramu Pulipati
    Jan 25, 2006
  3. David Williams
    Replies:
    2
    Views:
    1,107
    Jacob Yang [MSFT]
    Aug 12, 2003
  4. kris
    Replies:
    0
    Views:
    504
  5. Rio
    Replies:
    4
    Views:
    1,174
Loading...

Share This Page