Thank you for your reply.   I came to the same conclusion as well.   I did
it the same way you recommended.

Mark


On 13 Apr 2007 01:26:09 -0700, Andreas Rudischhauser <
[EMAIL PROTECTED]> wrote:
>
>   That is not possible. You have to copy the fields to d datatable bind
> that, and copy the values back to store it
>
> Von: [email protected]<development-axapta%40yahoogroups.com>
> [mailto:[email protected]<development-axapta%40yahoogroups.com>]
> Im Auftrag von
> mark_abousharkh
> Gesendet: Donnerstag, 12. April 2007 12:37
> An: [email protected]<development-axapta%40yahoogroups.com>
> Betreff: [development-axapta] AxaptaRecord
>
> Hello All,
> I hope someone could reply to me on this issue. I am
> using .NetBusinessConnector in an ASPX Page.
>
> I have a function that will return an AxaptaRecord, but I have no
> idea how I could bind this to a grid. I need to be able to set the
> axaptarecord to a grid datasource. But, that's not the case. Does
> that mean I'd need to loop through it and populate sometype of
> collection then bind bind the collection to the grid.
>
> Please Advise!!!!!!
>
> Here is snippet of code:
>
> public AxaptaRecord Retrieve(string aTableName)
> {
> _axaptaConn = new Axapta();
> _axaptaConn.Logon(null, null, null, null);
>
> AxaptaRecord retrieveRecordSet;
>
> retrieveRecordSet = _axaptaConn.CreateAxaptaRecord
> (aTableName);
>
> string query = "select * from %1";
>
> retrieveRecordSet.ExecuteStmt(query);
>
> return retrieveRecordSet;
> }
>
> [Non-text portions of this message have been removed]
>
> 
>


[Non-text portions of this message have been removed]

Reply via email to