2楼,你的方法我试了,还是不行,请你看一下代码,顺便提醒一下,MemberCardNo和contacter的数据类型是varchar,但TotalAmount的类型为decimal,
For i = 0 To Adodc1.Recordset.Fields.Count - 1
objDataSource.Fields.Append Adodc1.Recordset.Fields(i).Name, _
Adodc1.Recordset.Fields(i).Type, _
Adodc1.Recordset.Fields(i).DefinedSize, _
adFldIsNullable
Next
objDataSource.Open
For i = 1 To Adodc1.Recordset.PageSize
objDataSource.AddNew
objDataSource.Fields("MemberCardNo").Value = Adodc1.Recordset.Fields("MemberCardNo").Value
objDataSource.Fields("Contacter").Value = Adodc1.Recordset.Fields("Contacter").Value
objDataSource.Fields("TotalAmount").Value = Adodc1.Recordset.Fields("TotalAmount").Value
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then Exit For
Next