hi All,
I'm hoping to build my own datasource control, and hoped that someone would
point me in the right direction to start.
I have already created a class, which accepts a form, a tablename, a
connection and a collection of field object (which contain information about
which field binds to which form control).
I build all this in code, and then the class gets a dataset, binds the
controls to it, and allows modifiaction and updates etc. then saves them
back to the database.
However, I'd like to build a control, which would automate all of this, by
getting the fields at design time, and allowing the user to bind the fields
and then the user could simply change the connection string at run-time to
point to the correct database when deployed.
I am trying to kind of replicate the method by which you build bound forms
in access.
Any pointers to articles, or advice is greatly appreciated.
Thanks
Alex