I have one ComboBox which is populated on load from populate.txt file. I'm using streamreader for this. So far it works. The ComboBox is properly populated with:
- one
- two
- three
I have one empty TextBox, and a button.
The thing that I'm trying to do is:
- Select something from the ComboBox i.e. "one"
- Write in the TextBox i.e "50"
- Press the button, and to populate the DataGridView first row with: "One" "50"
At this point, a new empty row should be automatically added below the filled one. I've searched and searched for hours to no avail. So I decided to make an account and ask the question :)
The reason I'm doing this is that, later on I'll export the filled DataGridView. I could easily use labels for this, but that's not what I'm aiming for. I'm trying to "dive in" into the more complicated "stuff".
I hope that I explained well enough. ~Kind regards, Taffs
Aucun commentaire:
Enregistrer un commentaire