Click here to Skip to main content
15,921,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Add javascript Function in MenuItem Click event Pin
MyDevBank31-Mar-10 12:31
MyDevBank31-Mar-10 12:31 
Questionimagebutton in placeholder Pin
kunjumonu27-Mar-10 23:29
kunjumonu27-Mar-10 23:29 
AnswerRe: imagebutton in placeholder Pin
Brij28-Mar-10 2:53
mentorBrij28-Mar-10 2:53 
GeneralRe: imagebutton in placeholder Pin
kunjumonu28-Mar-10 6:32
kunjumonu28-Mar-10 6:32 
Questiongetting data for no of records Pin
inayat basha27-Mar-10 10:16
inayat basha27-Mar-10 10:16 
AnswerRe: getting data for no of records Pin
PSK_27-Mar-10 18:50
PSK_27-Mar-10 18:50 
GeneralRe: getting data for no of records Pin
Brij27-Mar-10 23:08
mentorBrij27-Mar-10 23:08 
GeneralRe: getting data for no of records Pin
PSK_28-Mar-10 2:56
PSK_28-Mar-10 2:56 
GeneralRe: getting data for no of records Pin
Brij28-Mar-10 3:14
mentorBrij28-Mar-10 3:14 
QuestionFileupload problem, please help. Pin
Farraj27-Mar-10 8:35
Farraj27-Mar-10 8:35 
AnswerRe: Fileupload problem, please help. Pin
Sandeep Mewara27-Mar-10 9:02
mveSandeep Mewara27-Mar-10 9:02 
GeneralRe: Fileupload problem, please help. Pin
Farraj27-Mar-10 9:09
Farraj27-Mar-10 9:09 
AnswerRe: Fileupload problem, please help. Pin
Not Active27-Mar-10 9:12
mentorNot Active27-Mar-10 9:12 
AnswerRe: Fileupload problem, please help. Pin
Farraj27-Mar-10 9:18
Farraj27-Mar-10 9:18 
GeneralRe: Fileupload problem, please help. Pin
michaelschmitt28-Mar-10 23:48
michaelschmitt28-Mar-10 23:48 
GeneralRe: Fileupload problem, please help. Pin
Farraj29-Mar-10 2:05
Farraj29-Mar-10 2:05 
GeneralRe: Fileupload problem, please help. [modified] Pin
michaelschmitt29-Mar-10 3:35
michaelschmitt29-Mar-10 3:35 
What i was trying to say is that your posted code does not include any interaction with
your access database. It just takes the selected filename from your upload control and saves this
file to the desired folder. This code alone would not insert the filename into your access-database table.

To clarify:


"~/photo/" is the virtual path of your upload folder. Server.MapPath is needed to tranform this to the corresponding
physical directory on your web-server (e.g.: c:\http\mysite\photo). FileUpload1.SaveAs(...) saves your file to this folder.

Use

string virtualFilePath = "~/photo/" + FileUpload1.FileName;

to get your desired Path und save it to your database.
modified on Monday, March 29, 2010 9:43 AM

Questionfetch date and time separately from datetime field in C#.net Pin
ships_agr27-Mar-10 6:57
ships_agr27-Mar-10 6:57 
AnswerRe: fetch date and time separately from datetime field in C#.net Pin
Tarakeshwar Reddy27-Mar-10 7:19
professionalTarakeshwar Reddy27-Mar-10 7:19 
GeneralRe: fetch date and time separately from datetime field in C#.net Pin
ships_agr27-Mar-10 7:38
ships_agr27-Mar-10 7:38 
GeneralRe: fetch date and time separately from datetime field in C#.net Pin
Tarakeshwar Reddy27-Mar-10 7:50
professionalTarakeshwar Reddy27-Mar-10 7:50 
QuestionMessage Removed Pin
27-Mar-10 3:29
kunjumonu27-Mar-10 3:29 
AnswerRe: sending email with text and url Pin
Not Active27-Mar-10 3:43
mentorNot Active27-Mar-10 3:43 
Questionemail sending with some text and url Pin
kunjumonu27-Mar-10 3:23
kunjumonu27-Mar-10 3:23 
AnswerRe: email sending with some text and url Pin
Not Active27-Mar-10 3:42
mentorNot Active27-Mar-10 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.