摘要: var regexEnum ={ intege: "^-?[1-9]\\d*$error整数", //整数 num1: "^[1-9]\\d*$error正整数", //正整数 intege2: "^-[1-9]\\d*$error负整数", //负整数 num: "^([+-]?)\\d*\... 阅读全文
posted @ 2011-05-11 17:44 alents 阅读(287) 评论(1) 推荐(0) 编辑
摘要: 2005比2000新增了几个函数,分别是row_number()、rank()、dense_rank()、ntile(),下面以实例分别简单讲解一下。create table gg(sname varchar(10),sort varchar(10),num int)goinsert into ggselect '白芍','根茎类',55union allselect '法半夏','根茎类',78union allselect '柴胡','根茎类',60union allselect '川芎 阅读全文
posted @ 2011-05-06 16:00 alents 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 后台代码——————————————using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.OleDb;using 阅读全文
posted @ 2011-05-05 15:49 alents 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 很多QQ群啊,到网上寻找 QQ群就很好,不过 QQ群好像不大凑效,你提出的问题,没几个回答的。还是 网上找些资料,自己 学习吧,祝你好运希望广大软件开发爱好者加入 阅读全文
posted @ 2011-05-04 17:01 alents 阅读(590) 评论(0) 推荐(0) 编辑
摘要: jquery代码-------------------$(function() { $("#DropDownList1").bind("change", function() { $("#Label1").text($("#DropDownList1 option:selected").text()); });或者 $("#DropDownList1").bind("change", function() { $("#Label1").text($(&qu 阅读全文
posted @ 2011-05-04 15:32 alents 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: jquery 显示本地时间/ 带日期、星期/ UTC引用jquery 库:<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.jclock.js"></script>$(function() { $('#demo').jclock(); $('#local').click(function( 阅读全文
posted @ 2011-05-03 14:11 alents 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 引用Jquery 库jquery-1.4.1-vsdoc.js 等Jquery脚本代码——————————————————————$(function() { $('#inputCheck').click(function() { $("input[name='Checkbox1']").attr("checked", $(this).attr("checked")); }); }); // 全选 $(function() { $("#select_reverse").click(f 阅读全文
posted @ 2011-05-03 13:41 alents 阅读(3013) 评论(1) 推荐(1) 编辑