⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 soapheaders.aspx

📁 This is a book about vb.you could learn this from this book
💻 ASPX
字号:

<script Language="VB" runat="server">

	Public Sub Page_Load()
	  ' Create a new instance of the UsingSoapHeaders
	  ' proxy class used to call the remote .asmx file
	  Dim u = New UsingSoapHeaders()

	  ' Create a new instance of the mySoapHeader class
	  Dim myHeader As New MySoapHeader()

	  ' Set the value of myHeader
	  myHeader.Value = "Sample Header Text"

	  ' Set the MySoapHeader public member of the
	  ' UsingSoapHeaders class to myHeader
	  u.MySoapHeaderValue = myHeader

	  ' Get the result of the call
	  Dim result As String
	  result = u.GetValueOfSoapHeader()
	  span1.InnerHtml = result
	End Sub

</script>
<font size="6">The value of the SOAP header is: <font color="red"><span id="span1" runat="server"/></font></font>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -