Reading through some coding expamples I came upon this well commented code.  The info is in XML format and makes perfect sence for any reader.

I’m going to start using this method from now on.

VB.net

''' <summary>
''' Checks to see if a table exists in Database or not.
''' </summary>
''' <param name="tblName">Table name to check</param>
''' <param name="cnnStr">Connection String to connect to</param>
''' <returns>Works with Access or SQL</returns>
''' <remarks></remarks>

PHP

//<summary>
//checks to see if a table exists in Database or not.
//</summary>
//<param name="tblName">Table name to check</param>
//<param name="cnnStr">Connection String to connect to</param>
//<returns>Works with Access or SQL</returns>
//<remarks></remarks>

via CodeProject: Check if a table or field exists in a database. Free source code and programming help.

Tags:



Leave a Comment

Anti-Spam Protection by WP-SpamFree