Click here to Skip to main content
15,909,897 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to use FileUpload Pin
Muhammad Gouda31-Dec-08 2:17
Muhammad Gouda31-Dec-08 2:17 
AnswerRe: How to use FileUpload Pin
N a v a n e e t h31-Dec-08 2:52
N a v a n e e t h31-Dec-08 2:52 
GeneralRe: How to use FileUpload Pin
Abhijit Jana31-Dec-08 2:56
professionalAbhijit Jana31-Dec-08 2:56 
GeneralRe: How to use FileUpload Pin
N a v a n e e t h31-Dec-08 2:59
N a v a n e e t h31-Dec-08 2:59 
GeneralRe: How to use FileUpload Pin
Abhijit Jana31-Dec-08 3:31
professionalAbhijit Jana31-Dec-08 3:31 
AnswerRe: How to use FileUpload Pin
MarcelloTurnbull31-Dec-08 3:03
MarcelloTurnbull31-Dec-08 3:03 
GeneralRe: How to use FileUpload Pin
MarcelloTurnbull31-Dec-08 3:04
MarcelloTurnbull31-Dec-08 3:04 
AnswerRe: How to use FileUpload - I got it Pin
Muhammad Gouda31-Dec-08 3:19
Muhammad Gouda31-Dec-08 3:19 
Thanks to all participants
I solved it

I had a server side method as follows
AddAttachment(string filePath)
{
//here is the source of exception
 FileStream fs = new FileStream(filePath, FileMode.Open);
//Then I get the data in fs in the form of byte []
} 


To solve the problem, I changed the method to
AddAttachment(byte [] fileContents)
{
//Then I get the data in fileContents directly
//where fileContent is obtained from the FileUpload control
}


foreach(Minute m in MyLife)
myExperience++;

QuestionProblem With Embedding .NET ActiveXcontrol (Window user control) inside aspx Pin
Dattatraya K31-Dec-08 1:30
Dattatraya K31-Dec-08 1:30 
AnswerCrosspost : Please ignore Pin
Brij31-Dec-08 2:14
mentorBrij31-Dec-08 2:14 
QuestionAuto send Emails Pin
kavitha_blueindia31-Dec-08 1:05
kavitha_blueindia31-Dec-08 1:05 
AnswerRe: Auto send Emails Pin
Abhijit Jana31-Dec-08 1:09
professionalAbhijit Jana31-Dec-08 1:09 
GeneralRe: Auto send Emails Pin
Tamer Oz31-Dec-08 1:32
Tamer Oz31-Dec-08 1:32 
GeneralRe: Auto send Emails Pin
Abhijit Jana31-Dec-08 1:47
professionalAbhijit Jana31-Dec-08 1:47 
GeneralRe: Auto send Emails Pin
ednrg31-Dec-08 8:08
ednrg31-Dec-08 8:08 
AnswerRe: Auto send Emails Pin
Christian Graus31-Dec-08 17:14
protectorChristian Graus31-Dec-08 17:14 
QuestionAccess provider for Roles [modified] Pin
scothykonma31-Dec-08 0:12
scothykonma31-Dec-08 0:12 
QuestionUnhandled Exception how to solve it?? Pin
mr_muskurahat31-Dec-08 0:11
mr_muskurahat31-Dec-08 0:11 
AnswerRe: Unhandled Exception how to solve it?? Pin
Abhijit Jana31-Dec-08 0:24
professionalAbhijit Jana31-Dec-08 0:24 
AnswerRe: Unhandled Exception how to solve it?? Pin
Brij31-Dec-08 0:31
mentorBrij31-Dec-08 0:31 
GeneralRe: Unhandled Exception how to solve it?? Pin
mr_muskurahat31-Dec-08 0:44
mr_muskurahat31-Dec-08 0:44 
GeneralRe: Unhandled Exception how to solve it?? Pin
Brij31-Dec-08 1:46
mentorBrij31-Dec-08 1:46 
QuestionHow to deploy ASP.NET site ??? Pin
bonypatel30-Dec-08 20:02
bonypatel30-Dec-08 20:02 
AnswerRe: How to deploy ASP.NET site ??? Pin
Abhijit Jana30-Dec-08 20:07
professionalAbhijit Jana30-Dec-08 20:07 
AnswerRe: How to deploy ASP.NET site ??? Pin
N a v a n e e t h30-Dec-08 20:37
N a v a n e e t h30-Dec-08 20:37 

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.