title: Check if table exists in c#
body: <p>I want to read data from a table whose name is supplied by a user. So before actually starting to read data, I want to check if the database exists or not. <br/></p>
  
  <p>I have seen several pieces of code on the NET which claim to do this. However, they all seem to be work only for SQL server, or for mysql, or some other implementation. Is there not a generic way to do this? <br/></p>
  
  <p>(I am already seperately checking if I can connect to the supplied database, so I'm fairly certain that a connection can be opened to the database.)</p>