private void btnLoad_Click(object sender, EventArgs e) { _con = new SapConnectionOld(); _con.Connect(); _oItens = _con.Comany.GetBusinessObject(BoObjectTypes.oItems); _recordSet = _con.Comany.GetBusinessObject(BoObjectTypes.BoRecordset); _recordSet.DoQuery("select ItemCode from OITM"); _oItens.Browser.Recordset = _recordSet; _oItens.Browser.MoveFirst(); SetFields(); }