11 2011 档案

摘要:The ServiceHost class gives you access to the WCF hosting infrastructure on the server side, whereas theChannelFactory class gives you access to the WCF hosting infrastructure on the client side.ServiceHost Sample:usingSystem;usingSystem.ServiceModel;usingQuickReturns.StockTrading.ExchangeService;us 阅读全文
posted @ 2011-11-28 10:55 Master HaKu 阅读(704) 评论(0) 推荐(0) 编辑
摘要:CREATEPROCEDUREspGetPageOfRecords@pageSizeint=20,--分页大小@currentPageint,--第几页@columnsvarchar(1000)='*',--需要得到的字段@tableNamevarchar(100),--需要查询的表@conditionvarchar(1000)='',--查询条件,不用加where关键字@ascColumnvarchar(100)='',--排序的字段名(即orderbycolumnasc/desc)@bitOrderTypebit=0,--排序的类型(0为升序 阅读全文
posted @ 2011-11-21 15:29 Master HaKu 阅读(180) 评论(0) 推荐(0) 编辑
摘要:前两天讨论Source Code老是被同事覆盖的问题时,发现在VS中开始编辑时自动Check Out的代码居然不是Latest Version,吓了一大跳,潜意识里觉得这是一个很严重的Bug,因为在VSS, CVS等版本控制系统中,但Check out的时候都会自动获取最新的版本。而后查了MSDN Forums和相关的blog,发现居然说是TFS的By Design。按TFS团队的说法,这是基于如下考虑:1.假定TFS Server上的代码总是一个完整的可用的Build,也就是说每个员工必须保证你的一个完整的Check In是必须可以Build成功的。2.通常意义上,你开始新的工作的时候同样应 阅读全文
posted @ 2011-11-16 09:07 Master HaKu 阅读(1945) 评论(0) 推荐(0) 编辑
摘要:asp.net默认的编码是UTF-8js文件里的编码也是UTF-8当你要在aspx页面上进行传中文参数时会出现乱码<-----request.aspx--接收参数页-----><----response.aspx--传送参数页----->例一:<a href="request.aspx?str=中国人"></a>解决办法一:1.可以和改webconfig的编码 如: <location path='response.aspx'> <system.web> <globalizatio 阅读全文
posted @ 2011-11-03 13:48 Master HaKu 阅读(11681) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示