Guest
Private paste!

Untitled

By: a guest | Apr 17th, 2010 | Syntax: VB.NET | Size: 0.94 KB | Hits: 144 | Expires: Never
Copy text to clipboard
  1. Imports System
  2. Imports System.ComponentModel
  3. Imports System.Collections
  4. Imports System.Diagnostics
  5. Imports System.Data
  6. Imports System.Data.SqlClient
  7. Imports System.Configuration
  8.  
  9. Namespace CodeBuilder.Objects
  10.  
  11.     Public Class Class1
  12.  
  13. #Region " Local Private Properties "
  14.  
  15.         ' connection to data source
  16.         Private con As SqlConnection
  17.         Private _trustedConnection As Boolean = False
  18.         Private _database As String
  19.         Private _username As String
  20.         Private _password As String
  21.         Private _server As String
  22.         Private _connectionString As String = ""
  23.         Private _errorTrap As Boolean = False
  24.         Private _SQLStatement As String
  25.  
  26. #End Region
  27.  
  28. #Region "Class Constructors"
  29.  
  30.         ' <summary>
  31.         ' Default constructor for a database object
  32.         ' </summary>
  33.         Public Sub New()
  34.             MyBase.New()
  35.         End Sub
  36.  
  37. #End Region
  38.  
  39.     End Class
  40.  
  41. End Namespace