摘要:
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 阅读全文
posted @ 2012-04-20 21:13
枫叶一帆
阅读(255)
评论(0)
推荐(0)
摘要:
前台<script type="text/javascript"> //刷新时滚动条保留位置 function ScrollToSelectNode() { document.getElementById("left").scrollTop = "<%=ScrollValue%>"; } function bindData() { document.getElementById("divScrollValue").value = document.getElementById("l 阅读全文
posted @ 2012-04-20 21:07
枫叶一帆
阅读(615)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2012-04-20 21:04
枫叶一帆
阅读(721)
评论(0)
推荐(0)
浙公网安备 33010602011771号