W
Hi.
I haven't been doing much of this so I am still trying to wrap my mind around what belongs where.
For now I have a view class with a dataGridView that is bound to a dataset , a controller, and a model which connects to a database, and I am able to display data (yay!).
Now let's say I want to let the user be able to add a row of data to the database...
How much of the job should the view class actually do?
Should I have it create a datarow and pass it on,
or do I send a string/ array something else via the controller and let only the model class worry about datarows?
I haven't been doing much of this so I am still trying to wrap my mind around what belongs where.
For now I have a view class with a dataGridView that is bound to a dataset , a controller, and a model which connects to a database, and I am able to display data (yay!).
Now let's say I want to let the user be able to add a row of data to the database...
How much of the job should the view class actually do?
Should I have it create a datarow and pass it on,
or do I send a string/ array something else via the controller and let only the model class worry about datarows?