客户端回调实现 (C#) 示例
2008-04-20 16:22
330 查看
演示实现客户端回调的 ASP.NET 网页
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<html xmlns="http://www.w3.org/1999/xhtml" >
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<head id="Head1" runat="server">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<script type="text/javascript">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif)
Function LookUpStock()function LookUpStock()
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
var lb = document.forms[0].ListBox1;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
var product = lb.options[lb.selectedIndex].text
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
CallServer(product, "");
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
Function ReceiveServerData()function ReceiveServerData(rValue)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Results.innerText = rValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</script>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</head>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<body>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<form id="form1" runat="server">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<div>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<asp:ListBox ID="ListBox1" Runat="server"></asp:ListBox>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<button onclick="LookUpStock()">Look Up Stock</button>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Items in stock: <span ID="Results"></span>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</div>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</form>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</body>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</html>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Data;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Configuration;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Collections;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.Security;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.WebControls;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.WebControls.WebParts;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.HtmlControls;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
public partial class Default3 : System.Web.UI.Page, System.Web.UI.ICallbackEventHandler
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
protected System.Collections.Specialized.ListDictionary catalog;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
private string returnValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
protected void Page_Load(object sender, EventArgs e)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
String cbReference =
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Page.ClientScript.GetCallbackEventReference(this,
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"arg", "ReceiveServerData", "context");
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
String callbackScript;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
callbackScript = "function CallServer(arg, context)" +
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"{ " + cbReference + "} ;";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Page.ClientScript.RegisterClientScriptBlock(this.GetType(),
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"CallServer", callbackScript, true);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog = new System.Collections.Specialized.ListDictionary();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("monitor", 12);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("laptop", 10);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("keyboard", 23);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("mouse", 17);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataSource = catalog;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataTextField = "key";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataBind();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
public void RaiseCallbackEvent(String eventArgument)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
if (catalog[eventArgument] == null)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
returnValue = "-1";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
else
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
returnValue = catalog[eventArgument].ToString();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
public string GetCallbackResult()
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
return returnValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif)
}
说明
下面的代码示例分为两部分。示例的第一部分演示一个 ASP.NET 网页(.aspx 页)。第二部分演示相应的代码隐藏文件(.aspx.cs 文件)。![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<html xmlns="http://www.w3.org/1999/xhtml" >
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<head id="Head1" runat="server">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
<script type="text/javascript">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif)
Function LookUpStock()function LookUpStock()
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
var lb = document.forms[0].ListBox1;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
var product = lb.options[lb.selectedIndex].text
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
CallServer(product, "");
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
Function ReceiveServerData()function ReceiveServerData(rValue)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Results.innerText = rValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</script>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</head>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<body>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<form id="form1" runat="server">
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<div>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<asp:ListBox ID="ListBox1" Runat="server"></asp:ListBox>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<button onclick="LookUpStock()">Look Up Stock</button>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Items in stock: <span ID="Results"></span>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
<br />
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</div>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</form>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</body>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
</html>
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Data;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Configuration;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Collections;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.Security;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.WebControls;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.WebControls.WebParts;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
using System.Web.UI.HtmlControls;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
public partial class Default3 : System.Web.UI.Page, System.Web.UI.ICallbackEventHandler
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
protected System.Collections.Specialized.ListDictionary catalog;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
private string returnValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
protected void Page_Load(object sender, EventArgs e)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
String cbReference =
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Page.ClientScript.GetCallbackEventReference(this,
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"arg", "ReceiveServerData", "context");
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
String callbackScript;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
callbackScript = "function CallServer(arg, context)" +
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"{ " + cbReference + "} ;";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
Page.ClientScript.RegisterClientScriptBlock(this.GetType(),
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
"CallServer", callbackScript, true);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog = new System.Collections.Specialized.ListDictionary();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("monitor", 12);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("laptop", 10);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("keyboard", 23);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
catalog.Add("mouse", 17);
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataSource = catalog;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataTextField = "key";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
ListBox1.DataBind();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
public void RaiseCallbackEvent(String eventArgument)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
if (catalog[eventArgument] == null)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
returnValue = "-1";
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
else
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
returnValue = catalog[eventArgument].ToString();
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
public string GetCallbackResult()
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif)
...{
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
return returnValue;
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif)
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif)
}
![](http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif)
相关文章推荐
- 客户端回调实现 (C#) 示例
- ASP.NET 客户端回调实现 (C#) 示例 (VS2005)MSDN 错误处理
- 客户端回调实现 (C#) 示例
- .net2.0客户端回调实现 (C#) 示例
- ASP.NET 客户端回调实现 (C#) 示例
- 客户端回调实现 (C#) 示例
- 客户端回调实现 (C#) 示例
- 客户端回调实现 (C#) 示例
- ASP.NET2.0实现无刷新客户端回调的Callback机制(示例源码)
- c#实例化继承类,必须对被继承类的程序集做引用 .net core Redis分布式缓存客户端实现逻辑分析及示例demo 数据库笔记之索引和事务 centos 7下安装python 3.6笔记 你大波哥~ C#开源框架(转载) JSON C# Class Generator ---由json字符串生成C#实体类的工具
- 如何在无刷新页面的情况下实现客户端回调实例(C#)—MSDN学习笔记
- 如何在无刷新页面的情况下实现客户端回调实例(C#)—MSDN学习笔记
- C#实现数据库事务处理的简单示例代码
- Thrift 客户端 C# ---实现zookeeper监视(1)
- ASP.NET 2.0客户端回调的实现分析(1)
- C#实现通用上传文件完整示例
- C#实现使用HTTP管道的.NET远程代码示例
- [转]轻松掌握Ajax.net系列教程四:用Ajax.net实现客户端回调(Callback)
- 在 ASP.NET 网页中不经过回发而实现客户端回调
- 16_C# 实现VMS客户端——控件_SuperTabControl