上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 37 下一页
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Public Class TestClass Test Private _classid As String ''' ''' 设置和获取分类ID ''' Public P... 阅读全文
posted @ 2007-04-14 19:24 sekihin 阅读(319) 评论(0) 推荐(0)
摘要: 转http://bbs.csai.cn/bbs/CSDN摘来的,献给大家 1.按生物钟作息。一个人的生物钟,是其体内各个器官所固有的生理节律。人们应当按照自身的生理节律来安排作息。如果反其道而行之,晚上熬夜,三餐不定时,自然整天昏昏沉沉,疲惫不堪。 2.强化三餐营养。一日三餐食物要品种多样,各品种之间的比例要均衡,不可偏废某些品种。蔬菜、禽肉、豆类、鱼类、水果、酸奶等不可或缺。 ... 阅读全文
posted @ 2007-04-12 18:12 sekihin 阅读(319) 评论(0) 推荐(0)
摘要: 比如:专业源自于严谨,效率来源于敬业。 阅读全文
posted @ 2007-04-12 12:43 sekihin 阅读(645) 评论(2) 推荐(0)
摘要: 阻塞 如果一个会话持有某个资源的锁,而另一个会话在请求这个资源,就会出现阻塞(blocking)。这样一来,请求的会话会被阻塞,它会“挂起”,直至持有锁的会话放弃锁定的资源。几乎在所有情况下,阻塞都是可以避免的。实际上,如果你真的发现会话在一个交互式应用中被阻塞,就说明很有可能同时存在着另一个bug,即丢失更新,只不过你可能没有意识到这一点。也就是说,你的应用逻辑有问题,这才是阻塞的根源。 数据库... 阅读全文
posted @ 2007-04-12 10:27 sekihin 阅读(3883) 评论(0) 推荐(0)
摘要: 1.添加字段 ALTER table customer add Gender char(1) ALTER table customer add(Gender char(1)) 2.修改字段名称 ALTER table customer change Address Addr char(50) ALTER table customer change Address(Addr char(50)) ... 阅读全文
posted @ 2007-04-10 17:22 sekihin 阅读(6182) 评论(2) 推荐(0)
摘要: .NET中各种数据库连接大全 SQL Server ODBC Standard Security:"Driver={SQL Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;" Trusted connection:"Driver={... 阅读全文
posted @ 2007-04-09 13:04 sekihin 阅读(544) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1.Dim objControl As ControlFor Each objControl In Me.ControlsIf objControl.Container.Name = "Frame1" T... 阅读全文
posted @ 2007-04-09 09:49 sekihin 阅读(1045) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> NowDate = ChangeDateStringToNumeric(Format(Now(), "yyyy/MM/dd")) NowTime = CIntX(Format... 阅读全文
posted @ 2007-04-06 18:21 sekihin 阅读(268) 评论(0) 推荐(0)
摘要: 精用Boolean表达式,让代码再减肥 1、传统方法: If SomeVar > SomeOtherVar Then x = x + 1 End If 2、更简练的方法 x = x - (SomeVar > SomeOtherVar) 1、传统方法: If SomeVar > SomeOtherVar Then ... 阅读全文
posted @ 2007-04-06 10:44 sekihin 阅读(1198) 评论(1) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butt... 阅读全文
posted @ 2007-04-04 16:55 sekihin 阅读(922) 评论(1) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 37 下一页