Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have a datagridview that bind to a list<t> programically.
List <T> lst = ... 


datagridview.datasource= lst;
Now I want to user can edit cell content.
Plaese help me
Posted

You have created BoundField Columns. Right?
Add an Edit,Update,Cancel CommandField column to the GridView.
I hope this helps. :thumbsup:
 
Share this answer
 
I add Columns to designer. and set DataField property.
My Project is win , in windows how to add CommandField?
 
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