鼠标滑过样式 示例

如下: <html><head><title></title><style type="text/css">a,a:visited{color:red}a:hover{color:green}</style></head><body> <asp:GridView id="GridView1" runat="server"></asp:GridView> <a href="http://www.mrsoft.com">明日科技</a></body></html>
asp.net收藏 | 2008-10-23 17:08 | 阅读 2593 次 | 评论 0 条

压缩与解压缩

//压缩 protected void btnY_Click(object sender, EventArgs e) { string rar; RegistryKey reg; string args; ProcessStartInfo procStart; Process process; try { reg = Registry.ClassesRoot.OpenSubKey(@"Applications\WinRAR.exe\Shell\Open\...
asp.net收藏 | 2008-10-23 08:17 | 阅读 3169 次 | 评论 1 条

ASP.net实现鼠标经过TextBox,TextBox中的内容处理选中状态

页面:<div> <asp:TextBox ID="TextBox1" runat="server" Text="鼠标移上试试" ></asp:TextBox> <br /> <input id="Text1" type="text" value="鼠标移上试试" onmousemove="this.select()"/> </div>代码:this.TextBox1.Attributes.Add("onMouseOver", "this.select()");
asp.net收藏 | 2008-10-05 14:00 | 阅读 4586 次 | 评论 0 条
浏览10347次
文章归档