SqlQuery = "select * from s"+start_year+start_month+start_day+select_condition
strDatabase = "use_" + start_year
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open StrDatabase
Set RS = Server.CreateObject("ADODB.RecordSet")
RS.cursorlocation=3'
看了这段代码我想确定楼主用的什么数据库?