摘要: function ChuanZhi(zhi) { var bian = document.getElementById("bian").value; if (bian.toString() == "") { bian = zhi; } document.getElementById(bian).style.backgroundColor = "#66CCFF"; document.getElementById(bian).style.color = "#... 阅读全文
posted @ 2012-09-05 16:46 丶有点坏 阅读(146) 评论(0) 推荐(0) 编辑
摘要: HTML 部分:<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="540" border="0"><TR><TD align="right">共<asp:label id="lblRecordCount" runat="server">Label</asp:label>条记录 共<asp:label id= 阅读全文
posted @ 2012-09-05 14:26 丶有点坏 阅读(177) 评论(0) 推荐(0) 编辑
摘要: public SqlParameter[] OBSqlParameter(object[] Parameter) { SqlParameter[] sqlpamtr = new SqlParameter[Parameter.Length]; for (int i = 0; i < Parameter.Length; i++) { sqlpamtr[i] = new SqlParameter("@A_" + i, Parameter[i]); } ... 阅读全文
posted @ 2012-09-05 11:43 丶有点坏 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// 控件绑定父节点 3 /// </summary> 4 string lianjie = ""; 5 public string TreeViewBind() 6 { 7 DataTable dt = YHDAL.SelectChaXunQuanBuYongHu(); 8 DataView dv = dt.DefaultView; 9 dv.RowFilter = "FuId=0"; ... 阅读全文
posted @ 2012-09-05 11:41 丶有点坏 阅读(194) 评论(0) 推荐(0) 编辑