posted @ 2009-08-13 15:53 程旭圆 阅读(403) 评论(0) 推荐(0) 编辑
摘要:
private string subMixString(string str, int subBytes) { int bytes = 0; // 用来存储字符串的总字节数 for (int i = 0; i = subBytes) { return str.Substring(0, i) + "... 阅读全文
摘要:
position:absolute;width:100%;display:block;right:10px;bottom:0; 阅读全文
posted @ 2009-04-03 16:55 程旭圆 阅读(151) 评论(0) 推荐(0) 编辑
摘要:
利用HttpModule进行权限设置 适用情况:在网站设置了Form认证后,对所有页面进行权限的细化管理。主要使用HttpApplication.AcquireRequestState 阅读全文
posted @ 2009-02-12 11:48 程旭圆 阅读(246) 评论(0) 推荐(0) 编辑
摘要:
begin transaction transaction_name 多条SQL语句commit transaction transaction_name 上面的语句在部分SQL语句出问题后并不会回滚,应改为以下方式: begin transaction transaction_name 多条SQL... 阅读全文
posted @ 2008-12-16 12:21 程旭圆 阅读(543) 评论(0) 推荐(0) 编辑
摘要:
table{border:0;margin:0;border-collapse:collapse;border-spacing :0;}/*控制cellspacing*/ table td{padding:0;}/*控制cellpadding*/ border-collapse : separ... 阅读全文
posted @ 2008-10-20 17:43 程旭圆 阅读(937) 评论(0) 推荐(0) 编辑