wyrd
Senior Contributor
Alrighty.. 99% of what I've programmed up 'til now has been all text based. Now, I'm moving into the wonderful world of GUI. To start off I'm building a small business type app using MSDE (as you might have guessed from my posts in the database forum). However, I've run into a slight problem due to my lack of knowledge with the GUI controls in which .NET provides.
Here's what I'm looking to accomplish;
A simple inventory type program that will fit the needs of a generic business. Easy enough, right? Well, I'd like to build it so it works similar to the way an Excel sheet would work (ie; you can click cells and edit at free will). Obviously I'm not going to give the THAT much free will, as there will be contraints etc. in which the user must abide by to edit/add columns.
My possible solutions;
-Possible solution 1: Using a DataGrid with DataSets/DataViews/DataAdapters. That way I can hold the info. in which the user wants to retrieve in memory (DataSet) and only display what the user really needs to see (DataView). Hopefully this would also allow the flexibility of being able to view the data however the user wants (within the limits I set) without having to query the DB over and over.
-Possible solution 2: Once again using DataGrid and DataSets/DataAdapters, however instead of using DataViews in memory, I was thinking of building Views in the database itself, in which the program will interract with, rather then the tables directly.
So what are my questions?
-Is this a good solution?
-Is there another control that offers the same excel style editing that the DataGrid does? One thing I particular like about DataGrids is the ability to display error messages next to the cells where errors reside.
-In this situation, would using DataSets/DataAdapters to hold data in memory (disconnected mode) be too much?
-Should I look into the old style of connected mode, in which case would I still be able to make use of DataGrids?
Any advice would be appreciated for a first time GUIer (uhh.. okay that may not be a word)
Thanks.
Here's what I'm looking to accomplish;
A simple inventory type program that will fit the needs of a generic business. Easy enough, right? Well, I'd like to build it so it works similar to the way an Excel sheet would work (ie; you can click cells and edit at free will). Obviously I'm not going to give the THAT much free will, as there will be contraints etc. in which the user must abide by to edit/add columns.
My possible solutions;
-Possible solution 1: Using a DataGrid with DataSets/DataViews/DataAdapters. That way I can hold the info. in which the user wants to retrieve in memory (DataSet) and only display what the user really needs to see (DataView). Hopefully this would also allow the flexibility of being able to view the data however the user wants (within the limits I set) without having to query the DB over and over.
-Possible solution 2: Once again using DataGrid and DataSets/DataAdapters, however instead of using DataViews in memory, I was thinking of building Views in the database itself, in which the program will interract with, rather then the tables directly.
So what are my questions?
-Is this a good solution?
-Is there another control that offers the same excel style editing that the DataGrid does? One thing I particular like about DataGrids is the ability to display error messages next to the cells where errors reside.
-In this situation, would using DataSets/DataAdapters to hold data in memory (disconnected mode) be too much?
-Should I look into the old style of connected mode, in which case would I still be able to make use of DataGrids?
Any advice would be appreciated for a first time GUIer (uhh.. okay that may not be a word)
Thanks.