摘要: http://www.cnblogs.com/yukaizhao/archive/2010/05/25/csharp-Syntactic-sugar.html1. 经过简化的Property 早些时候我们这样声明Propertyview sourceprint?01private string _myName; 0203public string MyName 0405{ 0607get { re... 阅读全文
posted @ 2010-05-25 09:42 lp123 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Server-side Code: 阅读全文
posted @ 2010-05-25 09:31 lp123 阅读(233) 评论(0) 推荐(0) 编辑
摘要: IF OBJECT_ID('sp_RmtLogin','P') IS NOT NULL DROP PROC dbo.sp_RmtLoginGO/**************************************************************************** Author: Roy* Date: 04/14/2010* Test: exec sp_RmtL... 阅读全文
posted @ 2010-05-20 18:10 lp123 阅读(231) 评论(0) 推荐(1) 编辑
摘要: 1, Cannot login the SQL Server 2005 using SQL Server Authentication mode. Check the following options: A: check the authentication mode of the sql server 2005. [When installing the sql server, you ca... 阅读全文
posted @ 2010-05-20 18:08 lp123 阅读(167) 评论(0) 推荐(1) 编辑
摘要: 关于ReportViewer控件的问题:Configuration infoIDE: Visual Studio 2008 (SP2)Project Type: WebsiteLanguage: C#1, 如果在一台机器上同时装有ReportViewer 2005 & ReportViewer 2008,ASPX页面中对程序集的引用版本应该和Web.config文件中一致,否测会出现编译错... 阅读全文
posted @ 2010-05-20 17:27 lp123 阅读(733) 评论(0) 推荐(1) 编辑
摘要: function getPos(el) { if (BrowserHelper.IsIE()) { for (var lx = 0, ly = 0; el != null; ) { lx += el.offsetLeft; ly += el.offsetTop; el = el.offsetParent; } return { x: lx.toString() + "px", y: ... 阅读全文
posted @ 2010-04-26 13:41 lp123 阅读(194) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-07-08 16:45 lp123 阅读(401) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-05-12 15:07 lp123 阅读(196) 评论(0) 推荐(0) 编辑
摘要: alert table test_tb alter column col_nm int_dataType 阅读全文
posted @ 2009-05-12 10:20 lp123 阅读(322) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-05-08 15:04 lp123 阅读(116) 评论(0) 推荐(0) 编辑