k we're working on a billing system
Currently I am working on the categories module. Here's the thing:
I need a dynamically changing UI. So the user can add categories, delete them and teh UI would accordingly add or remove controls automatically.
I used DataGridView, but since the fetching and storing of data will not be done in a database, I need to fetch it and update it using an HTTP API, the data bindings are causing problems as I need to update, Insert or delete data using functions instead of letting VB do the hard work. I tried creating a datatable and checking for changes everytime user added/deleted/changed a row, but again the problem is: in a datatable I am not able select what type of control represents the column. For Example I have a parent category column where the control needs to be a combo box. The datatable's columns don't seem to provide an option and are automatically set to text box.
I am thinking there is a really cool way of doing this that I am unaware of. all the VB.NET books I have read only seem to use DataGridView in conjunction with some sort of a database and not independantly. That sounds wrong to me!
Is there any book for this or some really good articles that intensively describe how to dissect datagrids cuz they seme pretty versatile.