M
MDBloemker
I hope this is the right place for this question, and I hope I can explain
the question clearly enough to be understood. I'm using VB.Net. When I
instantiate a new object from a user-defined class, can I access its members
via a variable? For example, if I have a variable (say, marray(4)) holding
the string value 'ModDate', and I have a class object of EmpRecord that
holds the member ModDate, how can I do something along the lines of:
EmpRecord.[marray(4)] = rdr(marray(2))
Or is it even possible? If not, is there a viable alternative to assigned a
class object member to a corresponding DataReader member? Thanks!!
MDBloemker
(e-mail address removed)
the question clearly enough to be understood. I'm using VB.Net. When I
instantiate a new object from a user-defined class, can I access its members
via a variable? For example, if I have a variable (say, marray(4)) holding
the string value 'ModDate', and I have a class object of EmpRecord that
holds the member ModDate, how can I do something along the lines of:
EmpRecord.[marray(4)] = rdr(marray(2))
Or is it even possible? If not, is there a viable alternative to assigned a
class object member to a corresponding DataReader member? Thanks!!
MDBloemker
(e-mail address removed)