摘要: declare @AlyID int select @AlyID=AlyID from tableA WHERE comid=1 --查看表是否存在数据 if isnull(@AlyID,'')!='' and @AlyID !='' --存在数据,进行修改 begin UPDATE tableA 阅读全文
posted @ 2016-08-09 10:07 xiaoxiaoma1 阅读(869) 评论(0) 推荐(0)
摘要: declare @i intset @i=0while @i<1073begin update Actor set AtrPwd = RIGHT(100000000 + CONVERT(bigint, ABS(CHECKSUM(NEWID()))), 6) --where aid=2 set @i= 阅读全文
posted @ 2016-08-09 09:54 xiaoxiaoma1 阅读(943) 评论(0) 推荐(0)
摘要: 给服务器端下拉asp:DropDownList 绑定改变事件,页面加载写ddl_GJ.Attributes.Add("onchange", "IsShow()"); //需要注意的是ie下中文需要转码:encodeURI(GJZ, "utf-8") function IsShow() { //获取城 阅读全文
posted @ 2016-08-09 09:42 xiaoxiaoma1 阅读(353) 评论(0) 推荐(0)
摘要: 单选按钮: var checkItem = $("input[type=radio][name=rblIviGender]:checked"); if (checkItem.length <= 0) { MsgTip.show({ msg: "请选择性别!", ico: "warning" }); 阅读全文
posted @ 2016-08-09 09:40 xiaoxiaoma1 阅读(1872) 评论(0) 推荐(0)
摘要: var fileName = $("#YZFile").val(); if (fileName == "" || fileName == null) { alert("请上传护照照片"); return false; } else { var dom = document.getElementByI 阅读全文
posted @ 2016-08-09 09:35 xiaoxiaoma1 阅读(1681) 评论(0) 推荐(0)