How to desgin profile page

Posted by Naidulaxmi under ASP.NET on 8/22/2013 | Points: 10 | Views : 711 | Status : [Member] | Replies : 4
hi i have a requirement for every user i have a registration page.after registration the user login with his credentials and redirected to his profile page..in that page i have requirement to upload his photograph.after uploading that his image will be displayed.when user has wants to remove his photograph he has to chance to remove same like facebook profile page plz help me in doing that..

i have created login page and registration page...i am redirecting user to profile page also...but how to give user chance to upload image..iam displaying presently just empty image..how to provide the functionality for user to upload image and delete image

appalanaidu


Responses

Posted by: Kmandapalli on: 8/23/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

You can go through the following link which contains an example along with screenshot.
Hope this might help you.

Mark as answer if satisfied.....

Regards,
Shree M.

Kavya Shree Mandapalli

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

Posted by: Bandi on: 8/23/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Use the following link to upload and display image....
http://aspsnippets.com/Articles/Upload-images-to-folder-and-display-uploaded-images-in-ASPNet-GridView-using-C-and-VBNet.aspx
http://www.aspdotnet-suresh.com/2013/04/display-images-in-aspnet-gridview-from.html
create one more table in the database as follwos:
CREATE TABLE UserImage 

(UserId INT NOT NULL REFERENCES UserTable(UserID),
PhotoURL NVARCHAR(250) NULL)


Steps to follow are
1) Upload image url into database
2) If there is corresponding PhotoURL in table for user then display photo on page and provide one link to remove photo



Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

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

Posted by: Satyapriyanayak on: 8/23/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.c-sharpcorner.com/UploadFile/satyapriyanayak/add-details-of-an-employee-with-image-and-display-it-into-a/
http://www.c-sharpcorner.com/UploadFile/satyapriyanayak/insert-image-with-details-in-database-with-Asp-Net/

If this post helps you mark it as answer
Thanks

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

Posted by: Kmandapalli on: 8/26/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

Can you plz mark it answer if satisfied


Regards,
Shree M


Kavya Shree Mandapalli

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

Login to post response