Click here to Skip to main content
15,064,915 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
I have a GV and one check box button and i displays some data when i view my page in browser,i did that.
But i have to save 3 fields when i click on check button and my 3 fields will be save when i click on save button.first i have to check checkbox then save that selected fields in that row.And one more thing when i check First record ,then remaining check box with fields will be disable till data saved.
so plz give me some tips in coding format.
Posted

DataGridDemo[^]
Look at the section Checkboxes and TextBoxes
   
I know what u want.
u have to do code in save button,in that make that 3 fields as disable and in else part it as enable=true.
for eg. txtname.Text.enable=false;
and in checkbox property u have to make loop for (int i=1;i<=arr[i];i++)
   

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