上一页 1 ··· 315 316 317 318 319 320 321 322 323 ··· 337 下一页
摘要: REF: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1400080&SiteID=1 (1) Rather than inserting spaces, can you adjust the padding property on the textbox? If you goal is to have the field inden... 阅读全文
posted @ 2008-10-02 12:47 emanlee 阅读(218) 评论(0) 推荐(0)
摘要: The problem I had this problem in Visual Studio 2005 and now I have it in Visual Web Developer 2008 express edition where when debugging a web application using the development web server the dynamic... 阅读全文
posted @ 2008-09-26 13:23 emanlee 阅读(376) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*--------------------------------------------------------- Title: Link Queue(链队列) 链队列-链式存储结构的队列 请... 阅读全文
posted @ 2008-09-23 17:54 emanlee 阅读(342) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /*--------------------------------------------------------- Title: Sequence Queue(顺序队列)顺序队列-顺... 阅读全文
posted @ 2008-09-23 17:50 emanlee 阅读(450) 评论(0) 推荐(0)
摘要: 使用临时表:select id=identity(int,1,1),value into #temp from YourTable select * from #temp drop table #temp 取得第11到20行记录:select IDENTITY(int,... 阅读全文
posted @ 2008-09-22 22:27 emanlee 阅读(5071) 评论(0) 推荐(0)
摘要: --获得禁用所有外键约束的语句select 'ALTER TABLE [' + b.name + '] NOCHECK CONSTRAINT ' + a.name +';' as 禁用约束 from sysobjects a ,sysobjects b where a.xtype ='f' and ... 阅读全文
posted @ 2008-09-22 21:48 emanlee 阅读(5171) 评论(0) 推荐(0)
摘要: ref: http://blog.sina.com.cn/s/blog_4b1a1001010007zf.html http://hi.baidu.com/trip008/blog/item/80b56aa7a09c0b91d0435821.html 前台: function GetFocus() { if(event.keyCode==13) { doc... 阅读全文
posted @ 2008-09-19 21:08 emanlee 阅读(2149) 评论(0) 推荐(0)
摘要: ref http://forums.asp.net/t/1048637.aspx http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=147013&SiteID=1 http://aspadvice.com/blogs/joteke/archive/2008/08/24/Is-_2200_Databinding-methods-such-as... 阅读全文
posted @ 2008-09-19 19:08 emanlee 阅读(1062) 评论(1) 推荐(0)
摘要: 经常遇到这样的情况,要取得所有客户的最新交易记录,读取网站所有浏览者最后一次访问时间。一个客户只读取最新的一次记录,相同,大部分的人首先想到的就是排除所有记录,相同的只取一条。用distint,但是distint只能取到一个字段的值。所以使用distint就不能读取 出所有的情况。下面是一条正确的语... 阅读全文
posted @ 2008-09-19 10:44 emanlee 阅读(1453) 评论(1) 推荐(1)
摘要: 题目要求:编号为1,2,...n的n个人按顺时针的方向围坐一个圈,每个人持有一个密码.一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数.报到m的人出列,将他的密码作为新的m的值,从他的顺时针方向的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止. 测试要求:m的初值为20,n=7,7个人的密码依次为:3 1 7 2... 阅读全文
posted @ 2008-09-17 12:49 emanlee 阅读(1237) 评论(0) 推荐(0)
上一页 1 ··· 315 316 317 318 319 320 321 322 323 ··· 337 下一页