02 2014 档案

摘要:jQuery.validator.addMethod("stringCheck", function (value, element) { //return this.optional(element) || /^[\u0391-\uFFE5\w]+$/.test(value); if ($("#txtProductName").val().length < 10) { return false; } else { return true; }}, "请输入适合的长度");//验证function validateFrom() 阅读全文
posted @ 2014-02-28 09:21 阿猫小覃 阅读(434) 评论(0) 推荐(0)
摘要:Request.QueryString["userName"].ToString()当userName为空的时候,会引发System.Web.HttpUnhandledException,所以不需要ToString()。User_ExchangeGoods goods = new User_Exch... 阅读全文
posted @ 2014-02-13 17:35 阿猫小覃 阅读(151) 评论(0) 推荐(0)
摘要:public bool InsertInvitation(DataTable dt) { SqlTransaction transaction = null; try { using (Sq... 阅读全文
posted @ 2014-02-12 16:01 阿猫小覃 阅读(321) 评论(0) 推荐(0)