Click here to Skip to main content
15,898,588 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How to find Reciprocal URL Pin
Michael Sync25-Nov-07 18:56
Michael Sync25-Nov-07 18:56 
QuestionHelp with database Pin
gReaen25-Nov-07 5:55
gReaen25-Nov-07 5:55 
AnswerRe: Help with database Pin
Paul Conrad25-Nov-07 9:42
professionalPaul Conrad25-Nov-07 9:42 
QuestionRe: Help with database Pin
gReaen25-Nov-07 18:13
gReaen25-Nov-07 18:13 
AnswerRe: Help with database Pin
Vasudevan Deepak Kumar25-Nov-07 22:04
Vasudevan Deepak Kumar25-Nov-07 22:04 
QuestionHow to retrieve a image from a database and display along with other components Pin
faesel25-Nov-07 2:43
faesel25-Nov-07 2:43 
AnswerRe: How to retrieve a image from a database and display along with other components Pin
Christian Graus25-Nov-07 8:35
protectorChristian Graus25-Nov-07 8:35 
GeneralRe: How to retrieve a image from a database and display along with other components [modified] Pin
faesel26-Nov-07 6:33
faesel26-Nov-07 6:33 
Hi Christian,

Thanks a lot for your reply you wisdom is greatly appreciated,

I have implemented a http handler and successfully displayed the image to the browser, only problem is that it now overwrites everything and is the first thing seen when starting the web application. As soon as the web application is loaded the http handler is called.

By the way I am a noob at this so don't laugh at me if I write something stupid. Could you please tell me if I am doing something wrong?

Http handler:

public class ImageHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
Game game = new Game();
Byte[] image = game.retrieveImage(_imageId);
context.Response.BinaryWrite(image);
}
}

Web.config:
<httpHandlers>
<add verb="*" path="*.*" type="WebApplication.ImageHandler, WebApplication"/>
</httpHandlers>

and image tag:
<asp:Image ID="Image1" runat="server" ImageUrl="ImageHandler.ashx"/>

Thanks,
Faesel Saeed
AnswerRe: How to retrieve a image from a database and display along with other components Pin
faesel28-Nov-07 5:00
faesel28-Nov-07 5:00 
QuestionSQL Server Connection pooling in classic ASP? Pin
joker79724-Nov-07 7:00
joker79724-Nov-07 7:00 
QuestionHelp me in this script Pin
Menhal24-Nov-07 2:03
Menhal24-Nov-07 2:03 
AnswerRe: Help me in this script Pin
Shog924-Nov-07 7:47
sitebuilderShog924-Nov-07 7:47 
GeneralRe: Help me in this script Pin
Menhal24-Nov-07 17:26
Menhal24-Nov-07 17:26 
QuestionJavascript popup - same window from two parent window... Pin
choorakkuttyil23-Nov-07 23:44
choorakkuttyil23-Nov-07 23:44 
AnswerRe: Javascript popup - same window from two parent window... Pin
Shog924-Nov-07 7:41
sitebuilderShog924-Nov-07 7:41 
Questions updating multiple rows Pin
neoghy23-Nov-07 19:37
neoghy23-Nov-07 19:37 
AnswerRe: s updating multiple rows Pin
Shog924-Nov-07 7:21
sitebuilderShog924-Nov-07 7:21 
QuestionInteroperatablity between managed and unmanaged code Pin
mastermind.aj23-Nov-07 1:59
mastermind.aj23-Nov-07 1:59 
AnswerRe: Interoperatablity between managed and unmanaged code Pin
Michael Sync23-Nov-07 17:58
Michael Sync23-Nov-07 17:58 
QuestionDreamweaver Problems Pin
EMMADO23-Nov-07 1:03
EMMADO23-Nov-07 1:03 
QuestionHow to disabled Div in JS. Pin
KambojR22-Nov-07 20:59
KambojR22-Nov-07 20:59 
AnswerRe: How to disabled Div in JS. Pin
Michael Sync22-Nov-07 22:13
Michael Sync22-Nov-07 22:13 
GeneralRe: How to disabled Div in JS. Pin
KambojR22-Nov-07 23:22
KambojR22-Nov-07 23:22 
GeneralRe: How to disabled Div in JS. Pin
Michael Sync23-Nov-07 1:23
Michael Sync23-Nov-07 1:23 
GeneralRe: How to disabled Div in JS. Pin
JyotiRawat25-Nov-07 20:15
JyotiRawat25-Nov-07 20:15 

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.