Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi. On my database, I have a table called Text which contais the following column: IdText, IdUser, Text, Approved. When a user write a text on my site, the approved column receive the status "false". I want to create a way to change that status to "true".

How I want to do it: The admin of the site will logon, and in his home page, there will be a list of all texts that are not approved. Then, the admin will choose one, click on the text to show all the informations about the text, and then there will be a button or action link where the admin will click and change the status of the text to true.

Anyone knows how can I do it?
Thanks!
Posted
Comments
[no name] 18-Oct-14 10:33am    
"Anyone knows how can I do it?", sure, you would do this by writing some code that attempts to do what you described here. Did you actually try to do any of this? Did you have some sort of a problem with the code that you have written?
Member 11126363 18-Oct-14 10:40am    
I only asked here because I'm lost and don't know how to start. I don't wanna the complete answer, I was just hoping someone could give me a hand to start.
OriginalGriff 18-Oct-14 10:45am    
So what have you tried?
Where are you stuck?
What help do you need?

1 solution

No one here will just write your code for you. That is what you are paid for.

Here is an example for adding a CheckBoxColumn to a GridView in ASP.Net.
Adding a GridView Column of Checkboxes[^]
 
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