- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 鼠标移到GridView某一行时改变该行的背景色方法
在GridView的OnRowDataBound事件里添加如下代码:e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor=#00A9FF"); e.Row.Attributes.Add("onmouseout", "this.style.backgroun
2009-10-21 18:50:00
401
原创 ASP.NET中如何防止同一用户同时登陆。
放在登陆成功的地方: string key = TextBox1.Text; //用户名文本框设为cache关键字 string uer = Convert.ToString(Cache[key]); //读取cache中用户相应的值//判断cache中是否有用户的信息,如果没有相关的值,说明用户未登陆if (uer == null || uer == St
2009-10-21 18:46:00
374
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅