Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi , i am new to windows form , my problem is i came across the data gridview control recently , when i bound it to back end and ran the proram, it ran correctly ,then i noticed that the cells in gridview are editable (when i double clicked it). my question is when we edit the data in cells ll it get reflected in the back end, thank u in advance
Posted
Updated 2-Jul-12 3:58am
v2
Comments
DamithSL 2-Jul-12 10:27am    
your question is not clear. if you want to confirm whether data updated or not you can load the application and check the data, or go to database and check from there.
Perić Željko 2-Jul-12 15:34pm    
It depends on the "back end".
If you use DataGridView control only to show to user some sort of data, than it won't have any reflection to "back end". In that case you should protect cells in grid from editing trough properties tab( read only propertie set to true ).
If you retrieve data from DataGridView for purpose of "back end" it will reflect to whole program.

1 solution

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