2012年12月20日

C#中三层架构的Sqlhelper代码

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Data.SqlClient;using System.Data;namespace 三层架构.DAL{ class SqlHelper { private static readonly string connStr = ConfigurationManager.ConnectionStrings["connStr"].Connec 阅读全文

posted @ 2012-12-20 10:19 王春雷 阅读(291) 评论(0) 推荐(0) 编辑

显示协议时的倒计时代码(倒计时时按钮为不可用属性)

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> var t 阅读全文

posted @ 2012-12-20 10:17 王春雷 阅读(233) 评论(0) 推荐(0) 编辑

HTML中限制用户只能输入数字或字母的代码规范

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript">//检查用户输 阅读全文

posted @ 2012-12-20 10:15 王春雷 阅读(698) 评论(0) 推荐(0) 编辑

无刷新评论HTML代码(存在360浏览器的兼容性问题)

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> funct 阅读全文

posted @ 2012-12-20 10:11 王春雷 阅读(411) 评论(6) 推荐(0) 编辑

HTML中评分控件(类似于淘宝评价时的评分控件)的代码

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> funct 阅读全文

posted @ 2012-12-20 10:08 王春雷 阅读(463) 评论(0) 推荐(0) 编辑

导航