how to approve /block image from admin panel in asp.net using sql server

Posted by Dn2010 under ASP.NET on 2/1/2011 | Points: 10 | Views : 2106 | Status : [Member] | Replies : 2
hi friends,

how to approve /block image from admin panel in asp.net using sql server.

please give the solution for it.

thanks.




Responses

Posted by: SheoNarayan on: 2/1/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
I think your question is more to do with the right approach of doing this rather than how to do this technically.

You can create a database table with AutoId (auto increment type), ImageName, IsApproved (bit) fields. At the time of uploading the image add a record into this table with IsApproved as false (blocked). From admin panel allow the administrator to view the image and approve it. If approved, update that record with IsApproved=true.

If you follow above approach, I hope you can achieve what you are looking for.

Thanks



Regards,
Sheo Narayan
http://www.dotnetfunda.com

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dn2010 on: 2/2/2011 [Member] Starter | Points: 25

Up
0
Down
thanks for your response,

please give the sample codes for it.


thanks in advance.

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response