Skip to Content
0
May 06, 2013 at 09:13 AM

How to work with RecordSet

841 Views

Hello everyone,

I am using SAP B-One studio with MS VS 2010, I want to know how to work with recordsets??? as I am writing a query in DoQuery() Method. How can I access these Coloumns after DoQuery()..Below is the query....

string str = "Select OpprId,Name from " + Application.SBO_Application.Company.DatabaseName + ".dbo.OOPR";

record.DoQuery(str);

Now here I want to access OpprId and Name of this table and want to add these both in combobox0.validValues.Add()...

How can I do that???

Thanx in advance