Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Every One,
my Problem is i designed my Datagridview using ComboBox and TextBox ,but don't want to
take PreDefind data in my DatagridView i will enter run time that data i want to delete and Undo . it is very urgent for me.
if any one knows please reply me,
Thanks in Advance
Posted
Comments
Wendelius 27-Jul-15 6:28am    
Most often the data to a grid comes from a data source such as a database etc. What is the actual situation you have and more importantly, what have you done so far?
Er Daljeet Singh 27-Jul-15 7:35am    
Well dataGridView normally bind with Datatable.So its better to create Datatable and store value in datatalbe from textboxes and then click of submit/save button bind the Datagridview
Suvendu Shekhar Giri 27-Jul-15 7:37am    
1. Create a datatable with requred columns
2. Add required no of empty rows to it
3. Make this datatable to be datasource of the datagridview

Take this approach and if we need further help, please le me know.

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