Click here to Skip to main content
15,845,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to replace the value of a column with the value of button clicked in grid view??

The OP Added:

we are doing project management system .In that our admin has to accept and reject the projects submitted to him. We are using grid view to list the project details column-wise . One column is to specify accepted or rejected. We have given checkboxes in another column for each row. So the checkboxes which are ticked will be the accepted projects.
We have another column called status.its default value is pending This column value of checked rows should be changed to accepted. How to do this??

[edit]Subject, OP comment added to question - OriginalGriff[/edit]
Updated 2-Feb-11 2:51am
m@dhu 2-Feb-11 6:58am    
Manas Bhardwaj 2-Feb-11 7:00am    
Umair Feroze 2-Feb-11 7:01am    
Did not get your point? Please elaborate
OriginalGriff 2-Feb-11 7:19am    
I have moved your replies into the body of your question, and deleted the replies.
LittleYellowBird 2-Feb-11 7:04am    
Hi, when you were asked to elaborate in the comment for your previous question, I think you were meant to provide more detailed information about what you are trying to do. I think that yoiur question is not clear enough. For example what do you mean by 'value of a column' or 'value of a button' (I don't do ASP so I'm not sure) but I think that you should add more information to your first question using 'Edit'. :)

1 solution

If you requirement is about updating the column based on the checkbox then this[^] might help you. Explain bit more if I am wrong.
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