- 博客(11)
- 收藏
- 关注
原创 js控制控件的disable
document.getElementById("").disabled =!"true";document.getElementById("").disabled ="false";
2010-05-27 09:02:00 2365
原创 游标的使用
DECLARE @UserID1 uniqueidentifier DECLARE MyCursor CURSOR FOR --取出游标中的数据集 select u.UserID from lc_userinfo u left join admin_group g on u.groupid=g.groupid where g.areaid= @AreaID or @AreaID=
2010-05-25 08:58:00 421
原创 验证不能为空的js
function CheckReg() { var ret = true; var str = ""; $id("strinfo").innerHTML = ""; //document.getElementById("strinfo").innerHTML = ""; ErrorStr = new Array()
2010-05-19 15:43:00 1227
原创 删除存在外键的数据
一种情况1、禁用约束 alter table ××× nocheck constraint all 2、删除数据 delete from ××× 3、恢复约束 alter table ××× check constraint all 二种情况先删除外键
2010-05-17 13:29:00 882
原创 看到的不明白的东西,高人路过指点
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Response.Write(1.oper(2, (a, b) => a + b)); Response.Write(2.oper(1, (
2010-05-12 13:45:00 381
原创 gridview中鼠标都改变颜色
protected void GroupsLists_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow)//判定当前的行是否属于datarow类型的行 { //当鼠标放上去的时候 先保存当前
2010-05-10 10:32:00 427
原创 js验证
function $id(s) { return document.getElementById(s);}//判断小数 function IsFloat(s) { if (!/^[+/-]?/d+(./d+)?$/.test(s)) return false; else return true;}//判断正小
2010-05-10 10:16:00 408
原创 js中密码验证
function chkpwd(obj) { var t = obj.value; var id = getResult(t); //定义对应的消息提示 var msg = new Array(4); msg[0] = "密码过短!"; msg[1] = "密码安全性差!"; msg[2] = "密码安全性良好!";
2010-05-10 09:59:00 740
原创 批量删除包含特殊字符的存储过程
declare proccur cursor for select [name] from sysobjects where type=Pdeclare @procname varchar(100)open proccurfetch next from proccur into @procnamewhile(@@FETCH_STATUS
2010-05-06 10:36:00 943 1
原创 Silverlight渐进学习系列(1)——IValueConverter的使用
http://www.cnblogs.com/liping13599168/archive/2010/05/03/1726714.html#1815693
2010-05-05 11:16:00 497
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人