Quick Search


Tibetan singing bowl music,sound healing, remove negative energy.

528hz solfreggio music -  Attract Wealth and Abundance, Manifest Money and Increase Luck



 
Your forum announcement here!

  Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums > Free Advertising Forums Directory > General Free Advertising Directories

General Free Advertising Directories This is a list of general free advertising directories.

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-20-2011, 07:46 PM   #1
9569zpaa
 
Posts: n/a
Default VB.NET and sql waiter database operations jotted

Imports System.Data ,GHD Rare Straighteners
Imports System.Data.SqlClient
Imports System.ComponentModel
Public Class DataBase
Implements IDisposable
Private SqlConn As SqlConnection
Public Shared sConn As String = = 30; Data Source = ServerName
Public Sub Dispose () Implements System.IDisposable.Dispose
Dispose (True)
GC.SuppressFinalize (True)
End Sub
Protected Sub Dispose (ByVal disposing As Boolean)
If disposing True Then
Return
; End If
If SqlConn Is Nothing = False Then
SqlConn . Dispose ()
SqlConn = Nothing
End If
End Sub
Public Sub Open ()
If SqlConn Is Nothing = True Then
; SqlConn = New SqlConnection (DataBase.sConn)
SqlConn.Open ()
End If
End Sub
Public Sub Close ()
If SqlConn Is Nothing = False Then
; SqlConn.Close ()
End If
End Sub
Public Function GetDataTables () As Collections.ArrayList
Me.Open ()
; Dim t As New Collections.ArrayList
Dim dt As DataTable
dt = Me.SqlConn.GetSchema (; If row (; t.Add (row (br> Next row
Return t
End Function
Public Function RunSelectSQL (ByVal sSQLString As System.String) As DataView
Me.Open ()
; Dim SqlDS As DataSet = New DataSet
Dim SqlDA As SqlDataAdapter = New SqlDataAdapter (sSQLString,GHD Red Straighteners, Me.SqlConn)
SqlDA.Fill (SqlDS)
Return SqlDS.Tables (0). DefaultView
End Function
Public Function RunDelOrInsSQL (ByVal sSQLString As System.String)
Me.Open ()
; Dim SqlComm As SqlCommand = New SqlCommand (sSQLString,GHD Green Butterfly 2011, Me.SqlConn)
SqlComm.ExecuteNonQuery ()
Return 0
End Function
End Class
  Reply With Quote

Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 12:59 AM.

 

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum