Click here to Skip to main content
15,890,506 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Interface Pin
Ankur\m/19-Aug-10 19:55
professionalAnkur\m/19-Aug-10 19:55 
GeneralRe: Interface Pin
Al-Farooque Shubho19-Aug-10 20:41
Al-Farooque Shubho19-Aug-10 20:41 
GeneralRe: Interface Pin
Yusuf20-Aug-10 3:53
Yusuf20-Aug-10 3:53 
AnswerRe: Interface Pin
Eaverae23-Aug-10 0:49
Eaverae23-Aug-10 0:49 
QuestionUnable to connect to any of the specified MySQL hosts in asp.net2010 vista Pin
Piyush Vardhan Singh19-Aug-10 5:18
Piyush Vardhan Singh19-Aug-10 5:18 
AnswerRe: Unable to connect to any of the specified MySQL hosts in asp.net2010 vista Pin
Yusuf19-Aug-10 10:27
Yusuf19-Aug-10 10:27 
Questionimage display problem Pin
Dhyanga19-Aug-10 4:41
Dhyanga19-Aug-10 4:41 
AnswerRe: image display problem PinPopular
Al-Farooque Shubho19-Aug-10 5:41
Al-Farooque Shubho19-Aug-10 5:41 
The Server.MapPath() actually returns the physical location of a file based upon a relative path provided to it. So, while saving the image, use of Server.MapPath() is the correct way to obtain the physical path for saving the file.

But, while you have to display the file in the <asp:image> server control, you should assign a relative URL of the image to the Image1.ImageUrl property. Assuming that, you are storing the image under the "/hint" folder (Inside your web application root folder), you should write the following code for displaying the image:

Image1.ImageUrl = "~/hint/" + fileName

GeneralRe: image display problem Pin
Dhyanga19-Aug-10 6:04
Dhyanga19-Aug-10 6:04 
QuestionReading data from ListView into generic list Pin
kstxx19-Aug-10 2:20
kstxx19-Aug-10 2:20 
Questionkey press in asp:TextBox Pin
dittu718-Aug-10 22:20
dittu718-Aug-10 22:20 
AnswerRe: key press in asp:TextBox Pin
Blue_Boy19-Aug-10 0:26
Blue_Boy19-Aug-10 0:26 
QuestionStatic method Pin
future383918-Aug-10 19:34
future383918-Aug-10 19:34 
AnswerRe: Static method Pin
Rajendra Prasad Panchati18-Aug-10 20:54
Rajendra Prasad Panchati18-Aug-10 20:54 
AnswerRe: Static method Pin
R. Giskard Reventlov18-Aug-10 21:25
R. Giskard Reventlov18-Aug-10 21:25 
AnswerRe: Static method Pin
Arun Jacob18-Aug-10 22:05
Arun Jacob18-Aug-10 22:05 
QuestionStructure Maps/Dependency Injection Pin
AndyASPVB18-Aug-10 12:26
AndyASPVB18-Aug-10 12:26 
AnswerRe: Structure Maps/Dependency Injection Pin
R. Giskard Reventlov18-Aug-10 21:26
R. Giskard Reventlov18-Aug-10 21:26 
GeneralRe: Structure Maps/Dependency Injection Pin
AndyASPVB18-Aug-10 21:31
AndyASPVB18-Aug-10 21:31 
Questioncheckbox problem Pin
Dhyanga18-Aug-10 5:38
Dhyanga18-Aug-10 5:38 
AnswerRe: checkbox problem Pin
Sandeep Mewara18-Aug-10 6:31
mveSandeep Mewara18-Aug-10 6:31 
AnswerRe: checkbox problem Pin
raju melveetilpurayil18-Aug-10 6:35
professionalraju melveetilpurayil18-Aug-10 6:35 
AnswerRe: checkbox problem Pin
Ennis Ray Lynch, Jr.18-Aug-10 6:46
Ennis Ray Lynch, Jr.18-Aug-10 6:46 
GeneralRe: checkbox problem Pin
Dhyanga18-Aug-10 7:45
Dhyanga18-Aug-10 7:45 
AnswerRe: checkbox problem Pin
richardqiaolixin18-Aug-10 16:30
richardqiaolixin18-Aug-10 16: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.