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.O peratorLogon"
STR_SQLCOMMAND. CommandType = CommandType.Sto redProcedure
STR_SQLCOMMAND. CommandTimeout = 30
With STR_SQLCOMMAND
' Set the 1st Parameter
.Parameters("@O peratorName").V alue = InputString(0)
.Parameters("@O peratorPassword ").Value = InputString(1)
.Parameters("@P asswordLife").V alue = 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.O peratorLogon"
STR_SQLCOMMAND. CommandType = CommandType.Sto redProcedure
STR_SQLCOMMAND. CommandTimeout = 30
With STR_SQLCOMMAND
' Set the 1st Parameter
.Parameters("@O peratorName").V alue = InputString(0)
.Parameters("@O peratorPassword ").Value = InputString(1)
.Parameters("@P asswordLife").V alue = 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
Comment