摘要: document.getElementById("Send_Flow_FlowProcedures").onclick = new Function("javascript:flowprocedures('" + strTaskId + "');return false;"); 阅读全文
posted @ 2009-02-17 16:07 jenner 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 去除其中重复字符<SCRIPT LANGUAGE="JavaScript"><!--var stra="a,b,c,d,e,f";var strb="e,m,n,c,b,z,y";//需要剔除b,c,e三个元素var str=stra+","+strb;var strArr=str.split(",");//排序strArr.sort();var result=new Array... 阅读全文
posted @ 2009-02-17 15:58 jenner 阅读(1484) 评论(0) 推荐(0) 编辑
摘要: //aspx.cs protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { CheckBox chkSelect = (CheckBox)e.Row.FindControl(... 阅读全文
posted @ 2009-02-17 10:44 jenner 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/howsmile/archive/2006/07/10/447364.html//关闭,父窗口弹出对话框,子窗口直接关闭this.Response.Write("<script language=javascript>window.close();</script>");//关闭,父窗口和子窗口都不弹出对话框,直接关闭th... 阅读全文
posted @ 2008-12-02 11:43 jenner 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 1 351.1 101.2 101.3 101.3.1 51.3.2 51.452302.1 102.2 20合计:65----------------------------------------------------//初始化父级自评分function SetFatherNum(){var objTable=document.getElementById("dgrdList");//将父级... 阅读全文
posted @ 2008-09-28 08:48 jenner 阅读(596) 评论(0) 推荐(0) 编辑
摘要: private void dgv_dataBind() { //构建表 DataTable dtStat = new DataTable(); dtStat.Columns.Add("DepartmentId"); dtStat.Columns.Add("YDMB"); DataRow drStat = dtStat.NewRow(); drStat[0] = "1"; drStat[1] = "... 阅读全文
posted @ 2008-07-31 13:33 jenner 阅读(257) 评论(0) 推荐(0) 编辑
摘要: private void dgrdList_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e){if(e.Item.ItemType==ListItemType.Header){TableCellCollection tcl=e.Item.Cells;tcl.Clear();tcl.Add(ne... 阅读全文
posted @ 2008-07-24 09:13 jenner 阅读(218) 评论(0) 推荐(0) 编辑
摘要: //表头string strTitle = this.LiteralTitle.Text;//年月string strYearMonth = this.LiteralDate.Text;//填报人string strUserInfo = this.LiteralUserInfo.Text;Response.Clear();   Response.Buffer = true;   Response.... 阅读全文
posted @ 2008-07-23 16:19 jenner 阅读(320) 评论(0) 推荐(0) 编辑
摘要: <script language="javascript">function OnPreSave(){var message="";var objTable=document.getElementById("dgrdList");for(var i=0;i<objTable.rows.length-2;i++) { var idSum = parseInt(i)+parseInt... 阅读全文
posted @ 2008-07-23 16:02 jenner 阅读(590) 评论(0) 推荐(0) 编辑
摘要: a,使用sort属性对数据进行排序thisView.Sort = "ProductName ASC"; orthisView.Sort = "Age ASC , Name DESC";b,使用RowFilter属性对数据过滤thisView.RowFilter = "ID = 10";"Num <= 10";"Date > 1/1/1999 and Date <= 2/2/200... 阅读全文
posted @ 2008-07-22 10:08 jenner 阅读(350) 评论(0) 推荐(0) 编辑