I have a class named 'BrowseRecords' and there is a public variable called
'mlRECORDSET'.
The type of the class BasicScriptClass.SystemConstant.strctRECORDSET
strctRECORDSET is
Public Structure strctRECORDSET
Public rsCOMMAND As OleDbCommand
Public rsCOMMANDBUILDER As OleDbCommandBuilder
Public rsDATAADAPTER As OleDbDataAdapter
Public rsDATATABLE As DataTable
End Structure
My question is, when I'm trying to access the
'BrowseRecords.mlRECORDSET.rsDATATABLE',
there is an error sounds ........
Z:\source.cs\shared.cs.module\account.receivable\a ccount.receivable.vb(62):
Cannot refer to 'rsDATATABLE' because it is a member of the value-typed
field 'mlRECORDSET' of class 'BrowseRecords.BrowseRecordsForm' which has
'System.MarshalByRefObject' as a base class.
Any problem with my code ? I know the work-around solution about my case,
but really need to know why this happen.
What is 'System.MarshalByRefObject' ? I couldn't find any reference in the
internet about this object.