Click here to Skip to main content
15,905,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Want to Add records from textbox to datagridview not to database, fields like

And When i double click on any row it load in textboxes and if i made any changes in that and click on button it should update in datagridview

thx in advance

1 solution

declare datatable and make three columns in it
on each entry create a new row and add it to data table

for loading data to textboxes you can work on cellmouseclick event of data gridview
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900