on 12-01-2011 9:15 AM
Hi Folks,
Im new to SAP and have started playing with .Net Connector 3.0.
Ive successfully written an application (VB 2010) that connects to SAP , passes data to a custom BAPI and reads the table that is returned.
My question is how do you bind the returned IRfcTable to a datagrid ? (in VB)
At the moment I manually create a datatable and read the IRfcTable line by line adding newrows into the datatable.
Thanks
Kevin
Ah ha !
Found it 🐵
Dim view As IRfcTableView = TryCast(GetBatchTable.GetTable("OUTTAB"), ISupportTableView).DefaultView
DataGridView1.DataSource = view
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.