摘要: 开门见山讲一下两者的区别document.getElementById("name").style.display ="none";//隐藏不保留位置document.getElementById("sex").style.visibility ="hidden";//隐藏占用页面空间读者可以用下面的例子看一下具体结果:html 部分: <asp:TextBox ID="name" runa... 阅读全文
posted @ 2010-06-09 22:07 艾伦 阅读(246) 评论(0) 推荐(1) 编辑
摘要: Id Total Name1  1  a2  2  b3  9  dfgdg4  7  dfd5  4  cc6  4  ccv7  2  cb8  1  bbb9  8  cc10  5  bbb数据库数据如上所示需求:total大于5,total置为5,total小于3,置为1,其他totao置为3update Aset total = case when total<3 then 1 ... 阅读全文
posted @ 2010-06-09 11:02 艾伦 阅读(595) 评论(1) 推荐(0) 编辑
摘要: http://focus.it168.com/focus/201006/mobile/index.html这是一个常见的Url,如果我们要取得地址中的域名,也就是:http://focus.it168.com.net(C#方法实现)web版本:   string str = "http://focus.it168.com/focus/201006/mobile/index.html"; int l... 阅读全文
posted @ 2010-06-09 09:20 艾伦 阅读(1155) 评论(0) 推荐(1) 编辑