晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页

2014年5月16日

摘要: 步骤:1、打开源代码管理资源管理器,点击“工作区”的下拉框,选择,“工作区”2、选择编辑3、选择“高级”4、进入编辑工作区,tfs中“位置”选项中,默认的时本地,如果想独占签出,这里我们就必须设置成“服务器”5、点击确定,这样我们的第一步就完成了,按照下图操作6.在签出设置中是默认多人签出的 阅读全文

posted @ 2014-05-16 13:24 shenyixin 阅读(1678) 评论(0) 推荐(0)

2014年5月6日

摘要: TFS 2010 配置的时候,提示TF255466错误Error [ System Checks ] TF255466: The configuration process for Team Foundation Server cannot continue. A previous update o... 阅读全文

posted @ 2014-05-06 21:11 shenyixin 阅读(853) 评论(0) 推荐(0)

2014年4月4日

摘要: C# 4.0提供了一个dynamic 关键字,那么什么是dynamic,究竟dynamic是如何工作的呢?从最简单的示例开始:static void Main(string[] args) { dynamic dyn = 1; object obj = 1; //在编译时将鼠标放到 ”dyn” 和”obj”中可以发现: // dyn:局部变量 dynamic (dyn) // obj: 局部变量object (obj) System.Consol... 阅读全文

posted @ 2014-04-04 10:26 shenyixin 阅读(4732) 评论(0) 推荐(1)

2014年3月22日

摘要: alert("2014-03-22".replace('-',''));alert("2014-03-22".replace(/-/g,''));第一个运行的结果"201403-22"这个只是替换了第一个"-"第二个运行的结果"20140322" 这个能实现js的全部替换功能其实第二个的意思就是用正则表达式实现全局的替换 g 代表 gobal 阅读全文

posted @ 2014-03-22 21:01 shenyixin 阅读(24441) 评论(2) 推荐(0)

2014年3月19日

摘要: Safari浏览器不支持将非ASCII字符存入Cookie,所以中文在保存的时候就会出问题,分号(";")也不能存在Cookie中,所以需要通过方法去除内容中的分号,在Cookie保存非ASCII字符的时候需要通过UrlEncode / UrlDecode方法来编码和解码问题解决Response.Cookies["UserName"].Value = System.Web.HttpUtility.UrlEncode("张波");string UserName = System.Web.HttpUtility.UrlDecode(Res 阅读全文

posted @ 2014-03-19 11:17 shenyixin 阅读(6919) 评论(2) 推荐(2)

2014年3月18日

摘要: 1. 在x64的机子上使用了错误版本的System.Data.SQLite.dll,即x86,需要安装合适版本的System.Data.SQLite.dll,现给出各种找到的下载地址(不保证有效果,毕竟这问题也不是全都相同的):1)http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki2)http://sourceforge.net/projects/sqlite-dotnet2/files/3)安装完后在D:\Program Files (x86)\SQLite.NET\bin\x64(我的程序安装在D盘)这 阅读全文

posted @ 2014-03-18 22:21 shenyixin 阅读(1607) 评论(0) 推荐(0)

摘要: 需要在两个地方设置 //Adding a numeric value to "A2" cell string a = "100"; worksheet.Cells["A2"].PutValue(a, true); --①主要是这个,增加一个参数,一般不会用到 //Getting the Style of the A2 Cell style = worksheet.Cells["A2"].GetStyle(); //Setting the display form... 阅读全文

posted @ 2014-03-18 14:59 shenyixin 阅读(5727) 评论(0) 推荐(0)

2014年1月9日

摘要: GO不是标准SQL语句,甚至不是T-SQL语句。它只是SQL Server管理器(SSMS)中用来提交T-SQL语句的一个标志。你可以在SSMS中任意指定这个提交标志。SSMS->工具->选项->查询执行->SQL Server->批分隔符中指定这个提交标志。如下图: 除了提交外,GO还可以指定提交的次数。比如select * from tablego 2那么go之前的语句会被执行两次。如需转载,请注明本文原创自灰太狼的博客:http://blog.csdn.net/tjvictor 阅读全文

posted @ 2014-01-09 13:00 shenyixin 阅读(490) 评论(0) 推荐(0)

摘要: 问题重现:--建表语句,测试数据 create table TestTable(Id int, Name nvarchar(20),CreateTime datetime) go declare @Count int = 1 while(@Count<1000) begin insert into TestTable select @Count,'Name '+CAST(@Count as nvarchar(10)),DATEADD(day,@Count,GETDATE()) set @Count = @Count+1; end go --建索引 create ... 阅读全文

posted @ 2014-01-09 12:59 shenyixin 阅读(719) 评论(0) 推荐(0)

2013年12月23日

摘要: select CONVERT(varchar, getdate(), 120 )2004-09-12 11:06:08select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')20040912110608select CONVERT(varchar(12) , getdate(), 23 )2008-04-01select CONVERT(varchar(12) , getdate( 阅读全文

posted @ 2013-12-23 10:21 shenyixin 阅读(1182) 评论(1) 推荐(0)

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页