上一页 1 ··· 334 335 336 337 338 339 340 341 342 ··· 347 下一页
摘要: 查询及删除重复记录的方法 1、查找表(people)中多余的重复记录,重复记录是根据单个字段(peopleId)来判断select*frompeoplewherepeopleIdin(selectpeopleIdfrompeoplegroupbypeopleIdhavingcount(peopleI... 阅读全文
posted @ 2008-02-26 18:59 emanlee 阅读(447) 评论(0) 推荐(0)
摘要: 在Windows版本的Safari中浏览以下的页面。 http://www.asp.net/AJAX/Control-Toolkit/Live/Calendar/Calendar.aspx CalendarExtender出现布局错位。 解决方法: 把下面的代码加到样式表文件中: .ajax__calendar_months { visibility: hidden; } .ajax... 阅读全文
posted @ 2008-02-15 21:54 emanlee 阅读(356) 评论(0) 推荐(0)
摘要: from: http://blog.sina.com.cn/s/print_4a5e327701000b56.html 首先把Gridview的AutoGenerateColumns属性设为False(默认是False),DataField选择相应的字段,特别需要注意的是要把需要设置的字段的HtmlEncode属性设置为False,否则所设置的格式将无法显示,然后就可以设置每个字段的 Data... 阅读全文
posted @ 2008-02-08 20:15 emanlee 阅读(12330) 评论(0) 推荐(1)
摘要: 这里对 SQL Server 字符串函数进行分门别类地列出,便于查阅和记忆,相信大家都在其它方面有高深的编程基础,从字面上来说大家都知道这些函数的意义,就不对这些函数作过多的解释了,主要谈些经验,具体请参见联机丛书。ASCII(character_expression) 返回最左端字符的 ASCII... 阅读全文
posted @ 2008-01-28 10:57 emanlee 阅读(1037) 评论(0) 推荐(0)
摘要: DBCC CHECKIDENT 检查指定表的当前标识值,如有必要,还对标识值进行更正。 语法 DBCC CHECKIDENT ( 'table_name' [ , { NORESEED { RESEED ][ , new_reseed_value ] } } ] ) ... 阅读全文
posted @ 2008-01-22 16:19 emanlee 阅读(652) 评论(0) 推荐(0)
摘要: asp.net中给用户控件添加自定义事件 用户控件中定义好代理和事件: public delegate void ItemSavedDelegate(object sender, EventArgs e); ... 阅读全文
posted @ 2008-01-21 14:39 emanlee 阅读(2140) 评论(0) 推荐(0)
摘要: C#日期格式化 from: http://51xingfu.blog.51cto.com/219185/46222 日期转化一 为了达到不同的显示效果有时,我们需要对时间进行转化,默认格式为:2007-01-03 14:33:34 ,要转化为其他格式,要用到DateTime.ToString的方法(String, IFormatProvider),如下所示: using System; u... 阅读全文
posted @ 2008-01-20 10:42 emanlee 阅读(25622) 评论(3) 推荐(3)
摘要: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx http://msdn2.microsoft.com/en-us/library/aa983476(VS.80).aspx Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application Proje... 阅读全文
posted @ 2008-01-13 17:40 emanlee 阅读(606) 评论(0) 推荐(0)
摘要: TinySQL Code Generatorfrom: http://weblogs.asp.net/firoz/archive/2007/09/13/tinysql-code-generator.aspxTinySQL is small and handy SQL script which can... 阅读全文
posted @ 2008-01-01 13:20 emanlee 阅读(881) 评论(0) 推荐(0)
摘要: Ok so you have all seen them: “8 million tools for web development”, “5 gagillion tools that if you don’t use you are stupid”. So of course you click on them (after all that is why people write them)... 阅读全文
posted @ 2008-01-01 11:54 emanlee 阅读(340) 评论(0) 推荐(0)
上一页 1 ··· 334 335 336 337 338 339 340 341 342 ··· 347 下一页