您的位置:首页 > 编程语言 > VB

【DotNet】VB.NET调用存储过程

2007-05-11 12:56 441 查看
Me.tmp_Command.CommandText = tmpStr '调用存储过程
Try
Me.tmp_Flag = True
Me.tmp_Connection.Open()
Me.tmp_Command.CommandType = CommandType.StoredProcedure
Me.tmp_Command.ExecuteNonQuery()
Catch
Me.tmp_Flag = False
Finally
Me.tmp_Command.CommandType = CommandType.Text
If Me.tmp_Connection.State = ConnectionState.Open Then
Me.tmp_Connection.Close()
End If
End Try
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: