mdbxscj.vb
来自「《精通ASP.NET网络编程》附带实例」· VB 代码 · 共 70 行
VB
70 行
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.0.2914.16
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.2914.16.
'
Namespace wbxmdb
<System.Web.Services.WebServiceBindingAttribute(Name:="MdbxscjSoap", [Namespace]:="http://tempuri.org/")> _
Public Class Mdbxscj
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
<System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Sub New()
MyBase.New
Me.Url = "http://192.0.11.221/aspx/ch12/mdbxscj.asmx"
End Sub
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetDataSet", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetDataSet(ByVal DbPath As String, ByVal TableName As String, ByVal SelectSQL As String) As System.Data.DataSet
Dim results() As Object = Me.Invoke("GetDataSet", New Object() {DbPath, TableName, SelectSQL})
Return CType(results(0),System.Data.DataSet)
End Function
<System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Function BeginGetDataSet(ByVal DbPath As String, ByVal TableName As String, ByVal SelectSQL As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("GetDataSet", New Object() {DbPath, TableName, SelectSQL}, callback, asyncState)
End Function
<System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Function EndGetDataSet(ByVal asyncResult As System.IAsyncResult) As System.Data.DataSet
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),System.Data.DataSet)
End Function
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ExecuteSQL", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Sub ExecuteSQL(ByVal DbPath As String, ByVal ActionQuery As String)
Me.Invoke("ExecuteSQL", New Object() {DbPath, ActionQuery})
End Sub
<System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Function BeginExecuteSQL(ByVal DbPath As String, ByVal ActionQuery As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("ExecuteSQL", New Object() {DbPath, ActionQuery}, callback, asyncState)
End Function
<System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Sub EndExecuteSQL(ByVal asyncResult As System.IAsyncResult)
Me.EndInvoke(asyncResult)
End Sub
End Class
End Namespace
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?