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

ASP.NET

 
AnswerRe: Images not retriving from Db Pin
John-ph20-Nov-07 19:59
John-ph20-Nov-07 19:59 
GeneralRe: Images not retriving from Db Pin
Krishna Varadharajan20-Nov-07 21:47
Krishna Varadharajan20-Nov-07 21:47 
GeneralRe: Images not retriving from Db Pin
Sun Rays20-Nov-07 21:53
Sun Rays20-Nov-07 21:53 
GeneralRe: Images not retriving from Db Pin
Krishna Varadharajan20-Nov-07 22:25
Krishna Varadharajan20-Nov-07 22:25 
GeneralRe: Images not retriving from Db Pin
N a v a n e e t h20-Nov-07 22:30
N a v a n e e t h20-Nov-07 22:30 
GeneralRe: Images not retriving from Db Pin
John-ph20-Nov-07 22:09
John-ph20-Nov-07 22:09 
GeneralRe: Images not retriving from Db Pin
Krishna Varadharajan20-Nov-07 22:30
Krishna Varadharajan20-Nov-07 22:30 
GeneralRe: Images not retriving from Db Pin
John-ph20-Nov-07 22:45
John-ph20-Nov-07 22:45 
krishnavaradharajan wrote:
Response.Write("");


sorry, I really don't understand what you are trying to do with the above code.

Here is the tip to solve you problem. If I have to display a Image which lies in a virtual folder in my application then I would write the code as below.

HTML

<-img id="ImgFile" runat="server">

Code-Behind

string FileName = "Pic101.gif"; <br />
ImgFile.Src = "./Images/" + FileName;


Same code will work for you with the ImageName picked from the Database and provided the corressponding Image folder should be available in the given virtual path and Corressponding Image should also availble in the folder.
Try it out.

- Regards -
   JON

     Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


GeneralRe: Images not retriving from Db Pin
Krishna Varadharajan20-Nov-07 22:55
Krishna Varadharajan20-Nov-07 22:55 
GeneralRe: Images not retriving from Db Pin
Krishna Varadharajan21-Nov-07 0:41
Krishna Varadharajan21-Nov-07 0:41 
GeneralRe: Images not retriving from Db Pin
N a v a n e e t h20-Nov-07 22:13
N a v a n e e t h20-Nov-07 22:13 
Questionasp.net 2.0 hosting problem Pin
saravanan0520-Nov-07 19:34
saravanan0520-Nov-07 19:34 
AnswerRe: asp.net 2.0 hosting problem Pin
Michael Sync20-Nov-07 19:41
Michael Sync20-Nov-07 19:41 
QuestionAbout Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 19:10
Rajeshwar Code- Developer20-Nov-07 19:10 
AnswerRe: About Dropdownlist.. Pin
N a v a n e e t h20-Nov-07 19:13
N a v a n e e t h20-Nov-07 19:13 
GeneralRe: About Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 19:17
Rajeshwar Code- Developer20-Nov-07 19:17 
GeneralRe: About Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 19:20
Rajeshwar Code- Developer20-Nov-07 19:20 
AnswerRe: About Dropdownlist.. Pin
Imran Khan Pathan20-Nov-07 19:14
Imran Khan Pathan20-Nov-07 19:14 
AnswerRe: About Dropdownlist.. Pin
Gandalf_TheWhite20-Nov-07 19:33
professionalGandalf_TheWhite20-Nov-07 19:33 
GeneralRe: About Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 20:21
Rajeshwar Code- Developer20-Nov-07 20:21 
GeneralRe: About Dropdownlist.. Pin
John-ph20-Nov-07 20:46
John-ph20-Nov-07 20:46 
GeneralRe: About Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 20:54
Rajeshwar Code- Developer20-Nov-07 20:54 
GeneralRe: About Dropdownlist.. Pin
John-ph20-Nov-07 21:07
John-ph20-Nov-07 21:07 
GeneralRe: About Dropdownlist.. Pin
Rajeshwar Code- Developer20-Nov-07 21:28
Rajeshwar Code- Developer20-Nov-07 21:28 
GeneralRe: About Dropdownlist.. Pin
John-ph20-Nov-07 21:31
John-ph20-Nov-07 21:31 

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.