摘要: 蛮好蛮使用的登陆界面 阅读全文
posted @ 2009-09-22 15:59 ∮随风而行∮ 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1. oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键 no 可用于Table 2. 取消选取、防止复制 3. onpaste="return false" 不准粘贴 4. oncopy="return false;" oncut="return false;" 防止复制 5. IE地址栏前换成自己的图标 6. 可以在收藏夹中显示出 阅读全文
posted @ 2009-09-22 15:54 ∮随风而行∮ 阅读(221) 评论(0) 推荐(0) 编辑
摘要: string strUserId = txtUser.Text;   ArrayList list = Application.Get("GLOBAL_USER_LIST") as ArrayList;   if (list == null)   {   list = new ArrayList();   }   for (int i = 0; i list.Count; i++)   {   if (strUserId == (list[i] as string))   { 阅读全文
posted @ 2009-09-22 15:15 ∮随风而行∮ 阅读(224) 评论(0) 推荐(0) 编辑
摘要: System.IO.StringWriter tw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw); GridView gv = new GridView(); gv.RowDataBound += new GridViewRowEventHandler(gv_RowDataBound); gv.DataSource = dt; gv.DataBind(); gv.RenderControl(hw); 阅读全文
posted @ 2009-09-22 14:27 ∮随风而行∮ 阅读(270) 评论(0) 推荐(0) 编辑