如下:
<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>
//压缩 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\...
页面:<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()");