摘要: comboBox1.SelectedIndex = 0;//设置第一项为默认选择项。comboBox1.SelectedItem = combItem; 阅读全文
posted @ 2012-12-04 20:52 googlg 阅读(9122) 评论(0) 推荐(0) 编辑
摘要: 在 SQL Server 2008 中,自定义 函数 :Create function CurrentMonthFirstDay()returns Datetimeasbegin DECLARE @FistDayOfCurrentMonth DATETIME SET @FistDayOfCurrentMonth = DATEADD(mm,DATEDIFF(mm,0,getdate()),0) return @FistDayOfCurrentMonthend 发现在2000中 不能运行, 首先 getedate() 不识别 ----- 改为 dbo.getdate(). 可用生产了,但是不... 阅读全文
posted @ 2012-12-04 11:29 googlg 阅读(1196) 评论(0) 推荐(0) 编辑