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

ASP.NET

 
AnswerRe: Code for Progress bar Webapplication showing 0-100% completion Pin
N a v a n e e t h18-Jul-08 1:30
N a v a n e e t h18-Jul-08 1:30 
GeneralRe: Code for Progress bar Webapplication showing 0-100% completion Pin
harithajagini18-Jul-08 1:59
harithajagini18-Jul-08 1:59 
GeneralRe: Code for Progress bar Webapplication showing 0-100% completion Pin
N a v a n e e t h18-Jul-08 2:09
N a v a n e e t h18-Jul-08 2:09 
Question.NET Profiler Pin
Brendan Vogt18-Jul-08 1:10
Brendan Vogt18-Jul-08 1:10 
AnswerRe: .NET Profiler Pin
N a v a n e e t h18-Jul-08 1:28
N a v a n e e t h18-Jul-08 1:28 
AnswerRe: .NET Profiler Pin
Ilya Verbitskiy18-Jul-08 2:33
Ilya Verbitskiy18-Jul-08 2:33 
AnswerRe: .NET Profiler Pin
John Ad18-Jul-08 3:48
John Ad18-Jul-08 3:48 
Questionproblem related to picture upload Pin
gaurav mangal18-Jul-08 0:57
gaurav mangal18-Jul-08 0:57 
hi every one
i am using this code to upload two images or you can upload no of images from this code .

string filepath = "C:\\Uploads";
HttpFileCollection uploadedFiles = Request.Files;
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
userPostedFile.SaveAs(filepath + "\\" +
System.IO.Path.GetFileName(userPostedFile.FileName));
}

but whan i want to load only one image then it shows error:
Could not find a part of the path 'C:\Uploads\'.
when i try to search that what is going on.then i came to know that if i select 1 image only then the value of uploadedFiles 2 that why loop run two times and show error .
my prob is why it takes 2 when i select 1 image only.

plz let me know.

thanks ...gaurav
AnswerRe: problem related to picture upload Pin
N a v a n e e t h18-Jul-08 1:27
N a v a n e e t h18-Jul-08 1:27 
GeneralRe: problem related to picture upload Pin
gaurav mangal18-Jul-08 19:03
gaurav mangal18-Jul-08 19:03 
AnswerRe: problem related to picture upload Pin
metallica_rock1018-Jul-08 1:41
metallica_rock1018-Jul-08 1:41 
GeneralRe: problem related to picture upload Pin
N a v a n e e t h18-Jul-08 1:49
N a v a n e e t h18-Jul-08 1:49 
AnswerRe: problem related to picture upload Pin
pradeep kumarappagari20-Jul-08 22:26
pradeep kumarappagari20-Jul-08 22:26 
QuestionAdd Row to Gridview Pin
IamAmit18-Jul-08 0:25
IamAmit18-Jul-08 0:25 
AnswerRe: Add Row to Gridview Pin
N a v a n e e t h18-Jul-08 1:08
N a v a n e e t h18-Jul-08 1:08 
GeneralRe: Add Row to Gridview Pin
IamAmit18-Jul-08 1:42
IamAmit18-Jul-08 1:42 
QuestionBinding into grid Pin
Member 387988117-Jul-08 23:53
Member 387988117-Jul-08 23:53 
AnswerRe: Binding into grid Pin
varshavmane18-Jul-08 0:16
varshavmane18-Jul-08 0:16 
GeneralRe: Binding into grid Pin
Member 387988118-Jul-08 0:19
Member 387988118-Jul-08 0:19 
GeneralRe: Binding into grid Pin
varshavmane18-Jul-08 1:45
varshavmane18-Jul-08 1:45 
AnswerRe: Binding into grid Pin
Sherin Iranimose18-Jul-08 0:26
Sherin Iranimose18-Jul-08 0:26 
GeneralRe: Binding into grid Pin
Member 387988118-Jul-08 0:42
Member 387988118-Jul-08 0:42 
AnswerRe: Binding into grid Pin
N a v a n e e t h18-Jul-08 1:07
N a v a n e e t h18-Jul-08 1:07 
Questionhow to refresh access 2003 database Pin
sathyan_829417-Jul-08 23:47
sathyan_829417-Jul-08 23:47 
AnswerRe: how to refresh access 2003 database Pin
Ashfield18-Jul-08 1:23
Ashfield18-Jul-08 1:23 

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.