Click here to Skip to main content
14,882,036 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
after lot of research in google, finally want to post this question.

In my vb.net winform application, i am using datatable(dt) as a datasource to my datagridview. Along with the columns in dt, added 2 more datagridview button columns (Edit,Delete). so in my datagridview each row contains Edit,Delete options. My aim is, if I click on Edit, the text for two buttons (Edit,Delete) should be changed to Save & Cancel and entire row should be in edit mode. Once user do some changes and click on either save or cancel entire should be back to read-only mode.

It is quite URGENT... Any suggestions as soon as possible please?
Posted
Updated 2-Aug-11 0:11am
v2

1 solution

set the EditIndex for your GridView
   
Comments
Member 8001800 2-Aug-11 6:42am
   
I am very basic programmer so any one can answer it in more clear way please?

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