ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 18th, 2003, 06:01 AM
rosa rosa is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 2 rosa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question ASP code for profile page

I need to make profile page including the users pictures and there information. then store all in DB.
how will be the code of ASP to upload the picture and insert the information to the DB?

PLZ I need the code asap

Thanks

Reply With Quote
  #2  
Old May 18th, 2003, 10:38 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
Check out the ASP articles section this site for a tutorial on building a members area.

Reply With Quote
  #3  
Old May 22nd, 2003, 08:46 PM
john2003 john2003 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 2 john2003 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
not found

i checked the articles as you told to rosa but there is no suh thing
(i.e) the code was just to add information without how to upload the picture with the information.
i need same code please
thanks

Reply With Quote
  #4  
Old May 22nd, 2003, 08:59 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
The easiest way to upload files using ASP is to use a component. I've been using Soft Artisans for a few years now - it's quite simple to use. It is possible to upload files using pure ASP, but you'll have to google for it.

Here's the link to SA FileUp, http://fileup.softartisans.com/default.aspx?PageID=131, which has a heap of documentation on how to perform uploads.

Reply With Quote
  #5  
Old December 19th, 2011, 07:19 PM
LindaMM LindaMM is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 3 LindaMM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 4 sec
Reputation Power: 0
Smile Profile page and Admin

I am a brand new web developer and I am creating a website for the YMCA. They are having an event in January which is free too all. Anyway, I am on the last part now. Can anyone please help me with the code for an admin page and a profile page, without pictures? Just with their weight. It must connect to the Login page. When they log in, they can get to the profile page, but no one else can see their profile page.

I already have an admin button on the home page, but now I need the code, so that it will work. Where can I get that?

Thank you!
Linda

Reply With Quote
  #6  
Old December 25th, 2011, 09:45 PM
Charles7458 Charles7458 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 5 Charles7458 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 56 sec
Reputation Power: 0
Check out the ASP articles section this site for a tutorial on building a members area


Reply With Quote
  #7  
Old January 25th, 2013, 02:10 AM
urgentechelp urgentechelp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 7 urgentechelp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 50 m 12 sec
Reputation Power: 0
I am also new comer in Asp.net and use to create like you, so you have to wait from me if you found other will be better.

Reply With Quote
  #8  
Old February 6th, 2013, 01:49 AM
webydoodle webydoodle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 1 webydoodle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 0
if you are using visual studio then in right site of tools there is mention to take image upload and code is:-


if (FileUpload1.HasFile)

{
FileUpload1.SaveAs("C:\\Uploads\\"+FileUpload1.FileName);
Label1.Text = "File name:"+FileUpload1.PostedFile.FileName + "<br>" +
FileUpload1.PostedFile.ContentLength + " kb<br>" +
"Content type: " +
FileUpload1.PostedFile.ContentType;
}

Reply With Quote
  #9  
Old February 7th, 2013, 01:51 AM
urgentechelp urgentechelp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 7 urgentechelp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 50 m 12 sec
Reputation Power: 0
Quote:
Originally Posted by rosa
I need to make profile page including the users pictures and there information. then store all in DB.
how will be the code of ASP to upload the picture and insert the information to the DB?

PLZ I need the code asap

Thanks


if
(fileupload1.HasFile)
{
try

{
if
(fileupload1.PostedFile.ContentType =="image/jpeg")
{
if
(fileupload1.PostedFile.ContentLength < 512000)
{
string
filename = Path.GetFileName(fileupload1.FileName);
fileupload1.SaveAs(Server.MapPath("~/")
+ filename);
Label1.Text =
"File uploaded successfully!";
}

Reply With Quote
  #10  
Old February 11th, 2013, 03:06 AM
easycleans easycleans is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 1 easycleans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 54 sec
Reputation Power: 0
i need the code of validation of registration form

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > ASP code for profile page


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap