·您的位置: 首页 » 资源教程 » 编程开发 » ASP.NET » ADO.NET对象的构造(7)_OleDbParameter(中)

ADO.NET对象的构造(7)_OleDbParameter(中)

类别: ASP.NET教程  评论数:0 总得分:0


示例

Public Sub CreateOleDbParameter()

Dim myParameter As New OleDbParameter()

myParameter.ParameterName = "Description"

myParameter.OleDbType = OleDbType.VarChar

myParameter.Direction = ParameterDirection.Output

myParameter.Size = 88



Dim myParameter As OleDbParameter = New OleDbParameter("Description", "Beverages")



Dim myValue As String = "12 foot scarf - multiple colors, one previous owner"

Dim myParameter As New OleDbParameter("Description", OleDbType.VarChar)

myParameter.Direction = ParameterDirection.Output

myParameter.Size = myValue.Length

myParameter.Value = myValue



Dim myParameter As New OleDbParameter("Description", OleDbType.VarChar, 88)

myParameter.SourceColumn = "Description"

myParameter.SourceVersion = DataRowVersion.Current



Dim myParameter As New OleDbParameter("Description", OleDbType.VarChar, 88)

myParameter.Direction = ParameterDirection.Output



Dim myParameter As New OleDbParameter("Description", OleDbType.VarChar, 88, "Description")

myParameter.Direction = ParameterDirection.Output



Dim myParameter As New OleDbParameter("Description", OleDbType.VarChar, 11, ParameterDirection.Output, True, 0, 0, "Description", DataRowVersion.Current, "garden hose")

End Sub







-= 资 源 教 程 =-
文 章 搜 索
关键词:
类型:
范围:
纯粹空间 softpure.com
Copyright © 2006-2008 暖阳制作 版权所有
QQ: 15242663 (拒绝闲聊)  Email: faisun@sina.com
 纯粹空间 - 韩国酷站|酷站欣赏|教程大全|资源下载|免费博客|美女壁纸|设计素材|技术论坛   Valid XHTML 1.0 Transitional
百度搜索 谷歌搜索 Alexa搜索 | 粤ICP备19116064号-1