I have already created a DataGridView table for my UI. I would like it so the headings and formatting stays as it is, but simply when a Row is populated, the information to the stored in a local database (or potentially just to a file if its simpler, I just want the inputted information to be there whenever I start the solution). How can I achieve this?
The data gets inputted from textboxes along with a combo-box and datetimepicker, and when a button is pressed, the information gets printed into a row. I would like it so just the rows simply go into a database or file, without messing up the formatting.
Please ask for clarity if needed.
THANKS!!!
What I have tried:
Dim dgvGeneralRow As Object() = New Object() {Nothing, txtTaskName.Text, txtTaskTag1.Text, cmbPriority.SelectedItem.ToString(), dateDUE.Value.ToString(), txtLink.Text, txtNoteEntry.Text}
dataGVGeneral.Rows.Add(dgvGeneralRow)
The Code above, allows for the textbox, combobox and datepicker entry to be added to the relevant columns of my already made DataGridView.
I want it so the data entered writes to a file (read and write), or so the data entered gets placed within a local database.
I want to be able to move certain rows of the DataGridView to another DataGridView in another form. What will be the best way?