I have to pass different values that I already have in several txt to a datagrid view (without a database involved in this) and that the data is displayed in the dgv.
For example: txt.productid , txtproductname, txtprice, txtcurrency.
My problem is that I found several examples but they have not worked for me since, either they replace one article with another in the same row, or the columns accumulate next to each other.
I need to load the data of an article, write more data and load it in the next row.
I thank you in advance for any help you can give me.
My question had been that, if I have different values in different txtbox, how to pass them to a datagridview. I found it worked for me like this:
And then on the add button
That way it worked for me at least. Thanks anyway :D Greetings from Uruguay!