G
Guest
In running vb.net 2003 and am trying to run a stored procedure
Dim InputString() As String
InputString = Split(InputParm, ";")
' set the query commands
STR_SQLCOMMAND.CommandText = "BossData.dbo.OperatorLogon"
STR_SQLCOMMAND.CommandType = CommandType.StoredProcedure
STR_SQLCOMMAND.CommandTimeout = 30
With STR_SQLCOMMAND
' Set the 1st Parameter
.Parameters("@OperatorName").Value = InputString(0)
.Parameters("@OperatorPassword").Value = InputString(1)
.Parameters("@PasswordLife").Value = InputString(2)
End With
The Connection to the Database is already set as SQL_CONNECTED
i got so far but dont know how to execute it or get the return ..... Help
Dim InputString() As String
InputString = Split(InputParm, ";")
' set the query commands
STR_SQLCOMMAND.CommandText = "BossData.dbo.OperatorLogon"
STR_SQLCOMMAND.CommandType = CommandType.StoredProcedure
STR_SQLCOMMAND.CommandTimeout = 30
With STR_SQLCOMMAND
' Set the 1st Parameter
.Parameters("@OperatorName").Value = InputString(0)
.Parameters("@OperatorPassword").Value = InputString(1)
.Parameters("@PasswordLife").Value = InputString(2)
End With
The Connection to the Database is already set as SQL_CONNECTED
i got so far but dont know how to execute it or get the return ..... Help