|
 |
|
Dev Articles Community Forums
> Programming
> ASP Development
|
ASP code for profile page
Discuss ASP code for profile page in the ASP Development forum on Dev Articles. ASP code for profile page ASP Development forum discussing your ASP or Visual Basic problems, solutions and code posts. Active Server Pages help you create dynamic websites using powerful scripting technologies.
|
|
 |
|
|
|
|

Dev Articles Community Forums Sponsor:
|
|
|

May 18th, 2003, 05:01 AM
|
|
Junior Member
|
|
Join Date: May 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
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
|

May 18th, 2003, 09:38 AM
|
 |
May contain nuts.
|
|
Join Date: Aug 2002
Posts: 2,056
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.
|

May 22nd, 2003, 07:46 PM
|
|
Junior Member
|
|
Join Date: May 2003
Posts: 2
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
|

May 22nd, 2003, 07:59 PM
|
 |
May contain nuts.
|
|
Join Date: Aug 2002
Posts: 2,056
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.
|

December 19th, 2011, 06:19 PM
|
|
Registered User
|
|
Join Date: Apr 2010
Posts: 3
Time spent in forums: 20 m 4 sec
Reputation Power: 0
|
|
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 
|

December 25th, 2011, 08:45 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 5
Time spent in forums: 10 m 56 sec
Reputation Power: 0
|
|
|

January 25th, 2013, 01:10 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
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.
|

February 6th, 2013, 12:49 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
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;
}
|

February 7th, 2013, 12:51 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 9
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!";
}
|

February 11th, 2013, 02:06 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 18 m 54 sec
Reputation Power: 0
|
|
|
i need the code of validation of registration form
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|