G
glenn
I have written as a test a customer class that has all the necessary field
handling and formatting routines in it that I need. I have dataaccess class
that controls reading and writing the class into the database. However, I
am now getting to the user interface layer and a little confused as to where
to head next.
What I would like to do is somehow attach my class to a dataset or something
that would make it easy to read and write data into my classes without the
programming having to manually write get and set routines for each and every
field on the form.
Can anyone offer any suggestions as to the best way to handle this? I want
to try to keep my business layer as far away from the UI as possible but
want to provide easy methods for the UI programmers to use when they are
attaching to my classes.
Thanks,
glenn
handling and formatting routines in it that I need. I have dataaccess class
that controls reading and writing the class into the database. However, I
am now getting to the user interface layer and a little confused as to where
to head next.
What I would like to do is somehow attach my class to a dataset or something
that would make it easy to read and write data into my classes without the
programming having to manually write get and set routines for each and every
field on the form.
Can anyone offer any suggestions as to the best way to handle this? I want
to try to keep my business layer as far away from the UI as possible but
want to provide easy methods for the UI programmers to use when they are
attaching to my classes.
Thanks,
glenn