Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Hi Graus Reply for ur Message Pin
Sathish Chakrapani7-May-08 22:11
Sathish Chakrapani7-May-08 22:11 
GeneralRe: Hi Graus Reply for ur Message Pin
Christian Graus7-May-08 22:17
protectorChristian Graus7-May-08 22:17 
GeneralRe: Hi Graus Reply for ur Message Pin
eyeseetee7-May-08 23:21
eyeseetee7-May-08 23:21 
GeneralRe: Hi Graus Reply for ur Message Pin
leckey8-May-08 3:25
leckey8-May-08 3:25 
GeneralRe: Hi Graus Reply for ur Message Pin
Christian Graus8-May-08 10:28
protectorChristian Graus8-May-08 10:28 
JokeRe: Hi Graus Reply for ur Message Pin
Jeremy Falcon8-May-08 4:43
professionalJeremy Falcon8-May-08 4:43 
QuestionProblem in importing data from excel to datagrid in web application... Pin
Balagurunathan S7-May-08 20:53
Balagurunathan S7-May-08 20:53 
AnswerRe: Problem in importing data from excel to datagrid in web application... Pin
Christian Graus7-May-08 20:55
protectorChristian Graus7-May-08 20:55 
The problem is you don't understand what ASP.NET is, at all.

You get a filepath from your client, then you try to read the file on the server. Unless the server and client are the same machine, that isn't going to work, the file just isn't there.

SAve the file to the server file system in order to read it. Of course, this presents it's own problems, if you have more than one user at once and the file names clash, you'll be in trouble. Use Path.GetTempFileName ( something like that ) to work around that, or just File.Exists when you're saving it.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Problem in importing data from excel to datagrid in web application... Pin
Balagurunathan S7-May-08 21:02
Balagurunathan S7-May-08 21:02 
GeneralRe: Problem in importing data from excel to datagrid in web application... Pin
Christian Graus7-May-08 21:41
protectorChristian Graus7-May-08 21:41 
QuestionBar Code Printing Pin
Anubhava Dimri7-May-08 20:27
Anubhava Dimri7-May-08 20:27 
AnswerRe: Bar Code Printing Pin
Christian Graus7-May-08 20:53
protectorChristian Graus7-May-08 20:53 
Question[Message Deleted] Pin
ashok@techxygen7-May-08 20:15
ashok@techxygen7-May-08 20:15 
AnswerRe: Send Types of credit cards ? Pin
Christian Graus7-May-08 20:53
protectorChristian Graus7-May-08 20:53 
Questionmail problem Pin
Member 45465077-May-08 19:52
Member 45465077-May-08 19:52 
AnswerRe: mail problem Pin
Christian Graus7-May-08 19:56
protectorChristian Graus7-May-08 19:56 
AnswerRe: mail problem Pin
eyeseetee7-May-08 21:37
eyeseetee7-May-08 21:37 
QuestionsetAttribute property in javascript Pin
SamRST7-May-08 19:31
SamRST7-May-08 19:31 
AnswerRe: setAttribute property in javascript Pin
Spunky Coder7-May-08 19:40
Spunky Coder7-May-08 19:40 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 19:49
SamRST7-May-08 19:49 
AnswerRe: setAttribute property in javascript [modified] Pin
Sun Rays7-May-08 19:42
Sun Rays7-May-08 19:42 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 19:47
SamRST7-May-08 19:47 
AnswerRe: setAttribute property in javascript Pin
Christian Graus7-May-08 19:55
protectorChristian Graus7-May-08 19:55 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 20:06
SamRST7-May-08 20:06 
GeneralRe: setAttribute property in javascript Pin
Christian Graus7-May-08 20:08
protectorChristian Graus7-May-08 20:08 

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.