D
DaBrain
Win32 C++/Delphi Developer here moving to .NET C# (Yes, I'm a newbie
again)
Thank you all for any replies in advance.
I am developing a class that accesses a record, one record, and sets
the Row values into a Properties, this is of course is based on many
conditions, there is a lot of data validation etc in there before the
property is set, thus this method is required. I have developed this
because we have to access this method from all over the place.
I developed this method passing in a RecordID, got the record then did
my stuff, great it all works!
The Problem:
I want to be able to use this Method say in a while loop from a Query
sending each row to the method and reading the properties..
The Newbie Question:
How do I pass one record, one row to a Method?
and
How do i access the individual fields by name after passed to the
method?
again)
Thank you all for any replies in advance.
I am developing a class that accesses a record, one record, and sets
the Row values into a Properties, this is of course is based on many
conditions, there is a lot of data validation etc in there before the
property is set, thus this method is required. I have developed this
because we have to access this method from all over the place.
I developed this method passing in a RecordID, got the record then did
my stuff, great it all works!
The Problem:
I want to be able to use this Method say in a while loop from a Query
sending each row to the method and reading the properties..
The Newbie Question:
How do I pass one record, one row to a Method?
and
How do i access the individual fields by name after passed to the
method?