hi guys ,
i have a client table, genheader table ,gendetails table
i made a class for each table which has open and close the connecion inside it
in my form, combobox is binded to cleint table,
other textbox and dtpicker is binded to genheader class and datagrid into gendetails class, for each class that i used im opening and closing it ,my question is which is better in performance and code reusability the three class which has its own open/close connection or i will combine all these and to have one class only with 1 open/close connection?
m designing acctng system in ntier using
vb.net
tnx in advance