function Init()
{
var v = "中國";
var s = '<%=CsharpVoid("'+v+'") %>';
alert(s);
}
protected string CsharpVoid(string strCC)
{
strCC = "你好!" + strCC;
return strCC;
}
轉自:http://www.cnblogs.com/morningwang/archive/2008/04/07/1140340.html