Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to convert the recordset to datatable

i given a sample code here...

tempcoa = ((SAPbobsCOM.BusinessPartners)(tempcomp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)));

temprecset = ((SAPbobsCOM.Recordset)(tempcomp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));

temprecset.DoQuery("select CardCode,CardName from OCRD where CardType ='S'");

tempcoa.Browser.Recordset = temprecset;

this tempreset is a recordset ..

i want to convert this to be datatable?

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question