本文整理汇总了VB.NET中System.Data.OleDb.OleDbParameter.OleDbParameter构造函数的典型用法代码示例。如果您正苦于以下问题:VB.NET OleDbParameter构造函数的具体用法?VB.NET OleDbParameter怎么用?VB.NET OleDbParameter使用的例子?那么, 这里精选的构造函数代码示例或许可以为您提供帮助。您也可以进一步了解该构造函数所在类System.Data.OleDb.OleDbParameter
的用法示例。
在下文中一共展示了OleDbParameter构造函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1: CreateOleDbParameter
Public Sub CreateOleDbParameter()
Dim parameter As New OleDbParameter()
parameter.ParameterName = "Description"
parameter.OleDbType = OleDbType.VarChar
parameter.Direction = ParameterDirection.Output
parameter.Size = 88
End Sub
示例2: CreateOleDbParameter
Public Sub CreateOleDbParameter()
Dim parameter As New OleDbParameter("Description", OleDbType.VarChar)
parameter.Direction = ParameterDirection.Output
parameter.Size = 88
End Sub
示例3: CreateOleDbParameter
Public Shared Sub CreateOleDbParameter()
Dim myParameter As New OleDbParameter("Description", "Beverages")
End Sub
示例4: CreateOleDbParameter
Public Sub CreateOleDbParameter()
Dim parameter As New OleDbParameter("Description", OleDbType.VarChar, 88)
parameter.Direction = ParameterDirection.Output
End Sub
示例5: CreateOleDbParameter
Public Sub CreateOleDbParameter()
Dim parameter As New OleDbParameter( _
"Description", OleDbType.VarChar, 88, "Description")
parameter.Direction = ParameterDirection.Output
End Sub
示例6: CreateOleDbParameter
Public Sub CreateOleDbParameter()
Dim parameter As New OleDbParameter( _
"Description", OleDbType.VarChar, 11, _
ParameterDirection.Output, True, 0, 0, _
"Description", DataRowVersion.Current, "garden hose")
Console.WriteLine(parameter.ToString())
End Sub