Try
oRecordSet.DoQuery("Select Code,Name,U_Billing_Code as BillingCode,U_Description as Description,U_Status as Status,U_Type_Code as TypeCode,U_Cycle_Days as CycleDays,U_Billing as Billing,U_Revenue as Revenue,U_Next_Batch_Id as NextBatchID,U_Last_Date as LastDate from [@ISGI_Bill_Codes]")
oRecordSet.MoveFirst()
While oRecordSet.EoF = False
oTrueGrid.DataSource = oRecordSet
oRecordSet.MoveNext()
End While
Catch ex As Exception
End Try
I am using this code and in the line " oTrueGrid.DataSource = oRecordSet" , i am getting the above specified error.... I don't know wat happen's...
Thanskyou for replying... please help to solve this isssue...
Thanks
Hari