摘要:
using System.Collections.Generic;using System.Data;using System.Text;using System.IO;using Newtonsoft.Json;namespace MatchGroupSystem.Common{ public class JsonMethods { public static string datatableToJSON(DataTable dt) { StringBuilder jsonStringBuilder = new StringBuilder(); StringWriter jsonString 阅读全文
摘要:
前台<script type="text/javascript"> //刷新时滚动条保留位置 function ScrollToSelectNode() { document.getElementById("left").scrollTop = "<%=ScrollValue%>"; } function bindData() { document.getElementById("divScrollValue").value = document.getElementById("l 阅读全文
摘要:
1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.ASPx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 复制代码接收参数: string a = Request.QueryString("id"); string b = Request.QueryString("id1"); 复制代码2.为按钮添加对话框 Button1.Attribu 阅读全文