How i can add the multiple values from a datagrid to textbox in C#?
In my project, it includes a datagrid, a textbox and a button.
when the datagrid is populated from the database, the add button will be enable.
after that when i click the one entry followed by hitting the add button the selected value will be populated in textbox by seperating a comma. How it will done.
You will need something like this:
on btn click
The dg part is probably wrong it is more likely something like dg.selectedRow[ColName].text.
Now if you decide to add a delete or remove btn you might what to come up with another idea.