摘要:
C#前台js调用后台代码前台js 后台代码public string Getstr(){ string aa = "你们好啊!"; return aa;}C#后台调用前台js代码前台js后台代码protected void Button1_Click(object sender, EventArgs e) { //如果有UpdatePanel就用如下代码调用前台js ScriptManager.RegisterStartupScript(UpdatePanel1, this.Page.GetType(), "", "Ceshi();" 阅读全文