Click here to Skip to main content
14,828,305 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

You have created BoundField Columns. Right?
Add an Edit,Update,Cancel CommandField column to the GridView.
I hope this helps. :thumbsup:
I add Columns to designer. and set DataField property.
My Project is win , in windows how to add CommandField?

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