摘要: 首先,4个蛋,一个锤子。都是div。 加事件 附样式: 阅读全文
posted @ 2016-09-02 16:57 萧紫紫 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 连接TFS时,如果本机保存了用户的网络密码,不会出现用户名和密码的输入框,若要更换TFS的用户名和密码,需按以下步骤操作:控制面板 >用户账号 >管理网络密码,此时会列出所有保存了网络密码的服务器地址,找到对应TFS服务器地址并把它删除,再连接TFS时就会出现用户名和密码的输入框。 阅读全文
posted @ 2016-08-30 11:10 萧紫紫 阅读(999) 评论(0) 推荐(0) 编辑
摘要: 在rdlc 中 显示成 yyyy年MM月dd日, 采用: =First(Format(Fields!添加时间.Value,"yyyy年MM月dd日") ) 阅读全文
posted @ 2016-08-30 10:18 萧紫紫 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-30 10:16 萧紫紫 阅读(2201) 评论(0) 推荐(0) 编辑
摘要: declare @str varchar(200) set @str='' -- 必须先赋值 select @str=@str+cast(tb.[objid] as varchar(10))+',' from( select [objid],sfrq from tablename ) tb order by tb.sfrq print @str 阅读全文
posted @ 2016-08-30 09:52 萧紫紫 阅读(3846) 评论(0) 推荐(1) 编辑
摘要: var mydate = new Date(); mydate.getYear(); //获取当前年份(2位) mydate.getFullYear(); //获取完整的年份(4位,1970-????) mydate.getMonth(); //获取当前月份(0-11,0代表1月) mydate.getDate(); //获取当前日(1-31) mydate.getDay(); //获取当前星期... 阅读全文
posted @ 2016-08-29 10:09 萧紫紫 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-29 10:02 萧紫紫 阅读(173) 评论(0) 推荐(0) 编辑
摘要: alter proc ljgl_cp_yzzx @usetag int ,@ids varchar(1000) as begin begin tran tr1 select * into #temp from fn_split(@ids,',') update cp_advice set usetag=@usetag where [objid] in (select * from... 阅读全文
posted @ 2016-08-29 09:57 萧紫紫 阅读(356) 评论(0) 推荐(0) 编辑
摘要: select * from ( select isnull(c.type,'其他') type,d from ( select ID,Record_code,code,day(thedate) d from search_record ... 阅读全文
posted @ 2016-08-29 09:55 萧紫紫 阅读(130) 评论(0) 推荐(0) 编辑
摘要: -主键用随机数难以保证唯一,在生成主键上要多做校验工作 --处理示例 --创建一个视图,生成编号 create view v_getNo as select No=convert(char(6),getdate(),12) +replace(convert(varchar(12),getdate(),14),':','') +right(newid(),6) go --创建一个函数,目的是... 阅读全文
posted @ 2016-08-29 09:52 萧紫紫 阅读(350) 评论(0) 推荐(0) 编辑