Click here to Skip to main content
15,900,254 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question(commerce server 2002 + asp c# .net) Pin
Nithyaganesh7-May-07 3:16
Nithyaganesh7-May-07 3:16 
QuestionInfintite for loop prob Pin
alimohammed7-May-07 2:40
alimohammed7-May-07 2:40 
AnswerRe: Infintite for loop prob Pin
Marcus J. Smith7-May-07 4:46
professionalMarcus J. Smith7-May-07 4:46 
GeneralRe: Infintite for loop prob Pin
alimohammed7-May-07 21:50
alimohammed7-May-07 21:50 
AnswerRe: Infintite for loop prob Pin
Tristan Rhodes7-May-07 5:33
Tristan Rhodes7-May-07 5:33 
GeneralRe: Infintite for loop prob Pin
alimohammed7-May-07 21:50
alimohammed7-May-07 21:50 
GeneralRe: Infintite for loop prob Pin
Tristan Rhodes8-May-07 2:50
Tristan Rhodes8-May-07 2:50 
QuestionHow to use MapPath() function while uploading a file using FileUpload control Pin
signbit7-May-07 2:33
signbit7-May-07 2:33 
i am creating a directory using code

<br />
string path="C:/My Documents/";<br />
Directory.CreateDirectory(path);<br />


directory is created successfully and i can view it in my c drive, now if i tries to upload a file using code

<br />
if (FileUpload1.HasFile)<br />
{<br />
         path += FileUpload1.FileName;<br />
         FileUpload1.SaveAs(MapPath(path));<br />
}<br />


it produces an error message showing "virtual path 'C:/My Documents/fileName' does not exists" while path do exists in my drive. any suggestion about the reason of this error.

Thanks in advance.



- A programmer's national anthem; "AAAAAHHHHH!!!!"

AnswerRe: How to use MapPath() function while uploading a file using FileUpload control Pin
szukuro7-May-07 2:38
szukuro7-May-07 2:38 
GeneralRe: How to use MapPath() function while uploading a file using FileUpload control Pin
signbit7-May-07 2:44
signbit7-May-07 2:44 
QuestionTextbox Pin
.NET- India 7-May-07 2:04
.NET- India 7-May-07 2:04 
AnswerRe: Textbox Pin
Spunky Coder7-May-07 2:12
Spunky Coder7-May-07 2:12 
GeneralRe: Textbox Pin
.NET- India 7-May-07 2:23
.NET- India 7-May-07 2:23 
GeneralRe: Textbox Pin
enjoycrack7-May-07 2:40
enjoycrack7-May-07 2:40 
GeneralRe: Textbox Pin
Sebastian T Xavier7-May-07 2:40
Sebastian T Xavier7-May-07 2:40 
GeneralRe: Textbox Pin
Marcus J. Smith7-May-07 4:48
professionalMarcus J. Smith7-May-07 4:48 
AnswerRe: Textbox Pin
Marcus J. Smith7-May-07 4:47
professionalMarcus J. Smith7-May-07 4:47 
AnswerRe: Textbox Pin
RichardGrimmer8-May-07 5:40
RichardGrimmer8-May-07 5:40 
QuestionRequired Field Validator Pin
.NET- India 7-May-07 1:59
.NET- India 7-May-07 1:59 
AnswerRe: Required Field Validator Pin
Jabeerbe7-May-07 19:20
Jabeerbe7-May-07 19:20 
QuestionERROR: Name 'ConfigurationManager' is not declared Pin
Faisal Khatri7-May-07 1:02
Faisal Khatri7-May-07 1:02 
AnswerRe: ERROR: Name 'ConfigurationManager' is not declared Pin
szukuro7-May-07 2:34
szukuro7-May-07 2:34 
Questioninitcaps Pin
srinandan..7-May-07 0:59
srinandan..7-May-07 0:59 
AnswerRe: initcaps Pin
enjoycrack7-May-07 1:18
enjoycrack7-May-07 1:18 
AnswerRe: initcaps Pin
Spunky Coder7-May-07 1:30
Spunky Coder7-May-07 1:30 

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.