Test for table in database

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

  1. JMehta

    JMehta Guest

    Hi,

    I have a hyperlink field in a gridview. I only want to set this hyperlink
    to be visible if a table (mailboxactivitylog) exists in either the sql or
    access database 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 4, 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. David Williams
    Replies:
    2
    Views:
    1,113
    Jacob Yang [MSFT]
    Aug 12, 2003
  2. Sting
    Replies:
    5
    Views:
    1,621
    Natty Gur
    Jun 8, 2004
  3. Rio
    Replies:
    4
    Views:
    1,182
  4. Robert Allan Schwartz
    Replies:
    7
    Views:
    370
    Marco Manfredini
    Aug 13, 2004
  5. Skybuck Flying

    Call oddities: &Test() vs &Test vs Test

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    690
    Skybuck Flying
    Oct 4, 2009
Loading...

Share This Page