using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Xml; using AIMSModel; using HelperDB; using DrawGraph; using AIMSExtension; namespace AIMSBLL { public class BNotesRecords { public static DataTable GetMonthDayTable(string beginTime, string endTime) { string strSql = " select DATEADD(dd,number,'" + beginTime + "') [RecordTime] from master..spt_values where type='p' and DATEDIFF(dd,DATEADD(dd,number,'" + beginTime + "'),CONVERT(varchar(10),'" + endTime + "',120))>0"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } } }