摘要:
蛮好蛮使用的登陆界面 阅读全文
摘要:
1. oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键
no 可用于Table
2. 取消选取、防止复制
3. onpaste="return false" 不准粘贴
4. oncopy="return false;" oncut="return false;" 防止复制
5. IE地址栏前换成自己的图标
6. 可以在收藏夹中显示出 阅读全文
摘要:
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))
{
阅读全文
摘要:
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);
阅读全文