Hi There
please be gentle as I'm a rank newbie (only been playing with c# for a year now as a hobbiest but loving it)
I have been battling for weeks now and finally decided to ask for help with this because I'm almost at the end of my tether and it seems like I'm in a long dark tunnel with no guiding light :-(.
First of all the original unbound Datagridview control I created in my form won't allow me to add ROWS , it used to work fine but now tell me I must add columns which I have go and have and had created manually on form loading. (Maybe I haven't set it up correctly in the first place :-( )
So I decided to start all over again and try to fathom the rather difficult to follow examples on the MSDN pages which seem to be a little over the top for someone starting out. I have combed through google and stackoverflow question texts blogs etc and it seems everyone has some different way of implementing and setting up a datagridview.
My use of it in the project I'm building is fairly simple I think :
The new datagridview needs to be unbound as I am not using a SQL database ( is this correct ? )
1.Create a datagridview which is easy to manage in terms of adding rows and columns as a user (either to be able to use ADD/REMOVE buttons or a right-click)
2.The user should be able to edit the rows (and of course re-order and delete or add new rows) -- I was able to do this as well as set columns to respond to a click and enable file browsing and selection as well as each cell having a combo box )
3. By clicking a button (the user should be able to export the values or each row to a CSV text file) -- I had this working to
4. By clicking a button the user should be able import row values into a file (I had this working too)
WISH LIST ITEMS :
Some column headers should have a tickBox to set the value for all rows in that column. (I managed a tickBox in a single cell but not the whole column)
OK so at the moment I have a fully working project except for my damaged dataview, and am now starting to build a new datagridview in order to possibly fix the crashed one :-(
So the MAIN question is :
Could some kind soul please assist me in setting up the datagridview correctly and be prepared to answer a fair amount of questions ?
I look forward to any replies and/or guidance.
D