This is my first post here so hope I have posted correctly.
I am in the process of converting my windows form app from VB6 to vb.net (VS2012). One of my forms is a weekly work roster (or schedule) which was working fine using flexgrid. Now I am looking at Datagridview to replace the flexgrid. I have already successfully converted another form to use a bound Datagridview (no comboboxes involved). The column headings for the roster are:
Other than Start Time and End Time, the values entered in each column are values based on other database (MS Access) tables: Location (for Location col.) and Staff Name (for each Day col).
But I need the user to have the ability to select ALL values (new or changes) from comboboxes.
My Roster database table structure reflects thecolumns of the gridview.
My question is:
Would it be best to use an unbound Datagridview (think I can manage all the code there)?
OR
Would you recommend to use a bound one, and if so, how do I incorporate the combos and still bind entries to a data table?
Thanks in advance
I am in the process of converting my windows form app from VB6 to vb.net (VS2012). One of my forms is a weekly work roster (or schedule) which was working fine using flexgrid. Now I am looking at Datagridview to replace the flexgrid. I have already successfully converted another form to use a bound Datagridview (no comboboxes involved). The column headings for the roster are:
Location, Start Time, End Time, Day 1, Day 2, ........ Day 7.
The grid is initially populated with the current roster (if exists). User also has two buttons: one to create new roster and other to save changes.
Other than Start Time and End Time, the values entered in each column are values based on other database (MS Access) tables: Location (for Location col.) and Staff Name (for each Day col).
But I need the user to have the ability to select ALL values (new or changes) from comboboxes.
My Roster database table structure reflects thecolumns of the gridview.
My question is:
Would it be best to use an unbound Datagridview (think I can manage all the code there)?
OR
Would you recommend to use a bound one, and if so, how do I incorporate the combos and still bind entries to a data table?
Thanks in advance