Skip to Content
0
Former Member
Jun 23, 2006 at 03:37 AM

Putting SAP recordset into .NET dataset

437 Views

I am wondering if someone familiar with .NET can help me out with this...

I am trying to use data from a SBO recordset(so that I can use SBO's connection) in a .NET dataset (for printing in an older version of Crystal Report where xml wasn't supported).

Code are as followed:

Private oRecordSet As SAPbobsCOM.Recordset

...

oRecordSet.DoQuery(some SQL to get the data you need)

...

Dim dsInvData As New DataSet

Anyone know how to put the SBO recordset data into dataset? Does anyone have sample code showing how this can be done?

Thanks in advance.

Alan