2012-3-21 9:02:54 阅读0 评论0 212012/03 Mar21
2012-3-14 14:29:39 阅读26 评论0 142012/03 Mar14
http://www.cppblog.com/guogangj/archive/2011/09/13/155703.html
发布网站
发布网站有多种形式,传统方式使用FTP,或用Windows远程桌面,将各个aspx和dll复制到对应的服务器目录中去。这样做的缺点是不够方便,且很难做到只上传更新过的文件。
Visual Studio提供了直接的网站发布的功能,其实是微软的一套工具,Web Deployment Tool
使用步骤:
“Publish Web”----出现对话框如下:
2012-2-23 21:45:20 阅读0 评论0 232012/02 Feb23
2012-2-20 21:54:40 阅读6 评论0 202012/02 Feb20
2012-2-20 14:29:05 阅读29 评论0 202012/02 Feb20
1. 在gridview中,可以通过gridview1.Rows[i].Cells[6].Attributes.Add("style", "color:red")来设置 <asp:BoundField>中字体的颜色. 2. 上述方法对<asp:HyperLinkField>字体颜色设置失效,HyperLinkField字段最好用css设置
可以用CSS来控制 <style>a:link { color: #ffffff; text-decoration: none; } a:visited { color: #ffffff; text-decoration: none; } a:hover { color: #ffffff; text-decoration: underline;}</style>