Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
I have two combobox and two textbox and one button. in button click event I want to add all the date in the combobox and textbox need to add in the datagridview.
I add this by creating datatable and add data to datatable and finally bind this datatable to datagridview. but It only add data in the first row. at every buttonclick event it just add data in the first row of the datagridview,because datable object reference newely created is bind to datagridview. but i want to add data to datagridview as a new row for every button click event. please give me sample available for this issue?
Thanks for advance
Posted
Updated 5-Dec-12 22:10pm
v2
Comments
choudhary.sumit 6-Dec-12 4:15am    
post your code here

1 solution

 
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