design aspect for populating my DataGrid in 3-tier application
Pls,
1/ When we have a datagrid for ex. in our form and we don t want to put too much code behind the form. I guess, Normally, we access a business class clcBusiness. then clsBusiness access a datalayer clsData.
And let s say the datagrid is populated according to a textbox value that the user fills in.
How do I populate the datagrid of my form without puting too much code behind my form.
In order to do that, I guess I should call the business class, right. but what is the buisness class supposed to get as an input value and what s it supposed to return to me, a dataset or a whole datagrid object populated and ready to go.
Do I pass the datagrid of the form to the business class as a ByRef variable or do I pass it as a ByVal object.
How do I pass that value to the business class.
Does this make sense. how do I implement all that. I understand this is a design question. Thanks .
2/ Any documentation about this
thank you very mcuh

