博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 8 9 10 11 12 13 14 下一页

2007年9月8日

摘要: 刷新页面<img src="../Images/Btn_qx.gif" onclick="parent.window.ModalWinClose();parent.window.location.href=parent.window.location.href;" /> 阅读全文

posted @ 2007-09-08 09:22 小飞龙(Jack) 阅读(116) 评论(0) 推荐(0) 编辑

2007年8月27日

摘要: Shift+Alt+Enter: 切换全屏编辑Ctrl+B,T / Ctrl+K,K: 切换书签开关Ctrl+B,N / Ctrl+K,N: 移动到下一书签 Ctrl+B,P: 移动到上一书签 Ctrl+B,C: 清除全部标签Ctrl+I: 渐进式搜索 Ctrl+Shift+I: 反向渐进式搜索 Ctrl+F: 查找 Ctrl+Shift+F: 在文件中查找 F3: 查找下一个 Shift+F3: 查找上一个 Ctrl+H: 替换 Ctrl+Shift+H: 在文件中替换 Alt+F12: 查找符号(列出所有查找结果)Ctrl+Shift+V: 剪贴板循环Ctrl+左右箭头键: 一次可以移动一 阅读全文

posted @ 2007-08-27 19:47 小飞龙(Jack) 阅读(168) 评论(0) 推荐(0) 编辑

2007年8月22日

摘要: 只要在div前加上<iframe id="aaaa" style="position: absolute; z-index: 9; width: expression(this.nextSibling.offsetWidth); height: expression(this.nextSibling.offsetHeight); top: expression(this.nextSibling.offsetTop); left: expression(this.nextSibling.offsetLeft);" frameborder=" 阅读全文

posted @ 2007-08-22 10:44 小飞龙(Jack) 阅读(1345) 评论(0) 推荐(0) 编辑

2007年8月21日

摘要: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='Gray'"); e.Row.Attributes.Add("onmouseout", "this.style.backgr 阅读全文

posted @ 2007-08-21 16:17 小飞龙(Jack) 阅读(284) 评论(0) 推荐(0) 编辑

2007年8月17日

摘要: //后台protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ViewState["SortOrder"] = "Id"; ViewState["OrderDire"] = "ASC"; BindGridview(); } } public void BindGridview() { try { SqlConnection conn = new SqlConnection("server=localhost;da 阅读全文

posted @ 2007-08-17 18:27 小飞龙(Jack) 阅读(531) 评论(0) 推荐(0) 编辑

摘要: set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGO-- =============================================-- Author: <Jack zhang>-- Create date: <2007-08-04>-- Description: <获取家庭吸烟总量(定义临时表)>-- =============================================ALTER PROCEDURE [dbo].[Family_SmokeTotal]( @Family_ID int)A 阅读全文

posted @ 2007-08-17 18:22 小飞龙(Jack) 阅读(1330) 评论(0) 推荐(0) 编辑

2007年7月22日

摘要: 后台//定义公共变量public string dropIsSmokeClientID ; //(DroptDownList)public string txtSmokeAgeClientID ; //(Textbox)//给变量赋值dropIsSmokeClientID = dropIsSmoke.ClientID;txtSmokeAgeClientID = txtSmokeAge.ClientID;//给服务器控件增加脚本dropIsSmoke.Attributes.Add("onchange", "return IsSmoke()");前台脚本&l 阅读全文

posted @ 2007-07-22 09:14 小飞龙(Jack) 阅读(188) 评论(0) 推荐(0) 编辑

2007年7月8日

摘要: <!--第一层GridView开始--><asp:GridViewID="GridView1"OnRowDataBound="GridView1_RowDataBound"AutoGenerateColumns=falserunat="server"><Columns> <asp:TemplateField> <ItemTemplate><%#Container.DataItem.ToString()%><!--第二层GridView开始-->< 阅读全文

posted @ 2007-07-08 18:51 小飞龙(Jack) 阅读(704) 评论(1) 推荐(0) 编辑

2007年6月25日

摘要: split(String.split 方法) string YE_Symptom; string[] Symptom = YE_Symptom.Split(new char[] { ',' }); //用 "," 作为分割符 返回数组for (int i = 0; i < Symptom.Length; i++) { for (int j = 0; j < 11; j++) { if (chklist.Items[j].Text == Symptom[i].ToString()) { chklist.Items[j].Selected = tru 阅读全文

posted @ 2007-06-25 08:30 小飞龙(Jack) 阅读(153) 评论(0) 推荐(0) 编辑

摘要: 打开窗口var handle = window.showModalDialog(url, objects, feathers);其中:objects可以为参数(包括数组),也可以是对象。通常的用法 objects = {window} ,把父窗体的对象共享给子窗体。示例://打开模式对话框function doSelectUser(txtId) { strFeatures="dialogWidth=500px;dialogHeight=360px;center=yes;middle=yes ;help=no;status=no;scroll=no"; var url,str 阅读全文

posted @ 2007-06-25 08:29 小飞龙(Jack) 阅读(376) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 下一页