Skip to Content

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

SAP connector for Microsoft.NET


I am using Microsoft Visual Studio 2003.

I need to connect SAP through .NET.

I am referring following link to do this.

But still I am unable to get data in data grid. data grid Only shows the column names.

I have called the required BAPI before binding it to the data grid, but still data is not displaying in the same.

Reference code is:

private void Button1_Click(object sender, System.EventArgs e)


SAPProxy3 proxy = new SAPProxy3();



proxy.Connection = SAP.Connector.SAPLoginProvider.GetSAPConnection(this);

// Call methods here


proxy.Bapi_Salesorder_Getlist("0000000006","0001","","","","","","",out objBAPIRETURN,ref this.bapiordersTable1);

// Now update Data Bindings. On WinForms this will be automatic, on WebForms call the following line



catch(Exception ex)





Sunil Pawar

Message was edited by:

Sunil Pawar

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