Click here to Skip to main content
15,034,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I have textbox type datagridview column named 'txtGridVdfTag.Text' in which value comes from datatable with databound event.
Problem is when I entered some text in datagridview column after bind the data with datagridview. after press enter sometime
it is deleted from datagridview column. I cannot trap where is problem.
any Idea?

Thanks

If set EditProgrammatically then how can user will enter or edit the text?
Posted
Updated 9-Dec-12 20:28pm
v3

Set Editmode property to EditProgrammatically of datagridview
   
If set EditProgrammatically then how can user will enter or edit the text?
   
Comments
Menon Santosh 8-Dec-12 3:45am
   
if you want user to input data and want to avoid accidental lose of data from enter key then there is a option in grid use can press esc key to undo last value

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