10 2012 档案

摘要:declare @tname varchar(8000) set @tname=''select @tname=@tname + Name + ',' from sysobjects where xtype='U'select @tname='drop table ' + left(@tname,len(@tname)-1) exec(@tname) --删除所有存储过程的sql语句 用到游标 declare @procName varchar(500) declare cur cursorfor select [name] fr 阅读全文
posted @ 2012-10-25 18:21 我在这 阅读(401) 评论(0) 推荐(0)
摘要:input的radio类型,跟checkbox不同,在选中状态下,不能通过再次点击来取消选择。最近在工作中却遇到这样的需求,通过jquery实现了一下。假设表单如下:<form name="mainForm" action="tt.php"> <input type="radio" value="large" name="size" tag="0"/> <input type="radio" value="middl 阅读全文
posted @ 2012-10-25 18:18 我在这 阅读(4339) 评论(0) 推荐(0)
摘要:第一种方式: <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta http-equiv="Expires" content="0" />加上后,C:\Documents and Settings\Administrator\Local Settings\Temporary In 阅读全文
posted @ 2012-10-12 11:27 我在这 阅读(201) 评论(0) 推荐(0)