Vertragsverwaltung-Klassenbibliothek  

DomainTable.Load_Bootom_Table -Methode

Load der Verbindungstabelle

[Visual Basic]
Public Sub Load_Bootom_Table( _ 
ByVal tablename As String, _ 
ByVal Fokus As Integer, _ 
ByVal KeyValue As String
)

Parameter

tablename
Fokus
KeyValue

Quellcode

[Visual Basic]
        Public Sub Load_Bootom_Table(ByVal tablename As String, ByVal Fokus As Integer, ByVal KeyValue As String) 
Tabledata.Tables.Clear() 
Dim sqlcmd As New SqlCommand 
sqlcmd.CommandText = Me.Select_Proc_bottomtable 
sqlcmd.Parameters.Add("@iErrorCode", SqlDbType.Int, 4) 
sqlcmd.Parameters.Add("@Fokus", SqlDbType.Int, 4) 
sqlcmd.Parameters.Add("@KeyValue", SqlDbType.VarChar, 255) 
sqlcmd.Parameters(0).Value = 0 
sqlcmd.Parameters(1).Value = Fokus 
sqlcmd.Parameters(2).Value = KeyValue 
 
sqlcmd.CommandType = CommandType.StoredProcedure 
sqlcmd.Connection = connection 
Try 
connection.ConnectionString = Globals.sConnectionString 
connection.Open() 
da.SelectCommand = sqlcmd 
da.Fill(Tabledata, "Domaintable") 
Catch ex As Exception 
Finally 
connection.Close() 
da.Dispose() 
sqlcmd.Dispose() 
End Try 
End Sub

Forderungen

Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Siehe auch

DomainTable