Click here to Skip to main content
15,913,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: TextBox datatypr probelm [modified] Pin
dany.s22-Sep-06 23:13
dany.s22-Sep-06 23:13 
AnswerRe: TextBox datatypr probelm Pin
Guffa23-Sep-06 1:14
Guffa23-Sep-06 1:14 
QuestionHow to show Images in DataGrid or Data List Pin
sandip788222-Sep-06 19:42
sandip788222-Sep-06 19:42 
AnswerRe: How to show Images in DataGrid or Data List Pin
amaneet22-Sep-06 21:09
amaneet22-Sep-06 21:09 
GeneralRe: How to show Images in DataGrid or Data List Pin
sandip788225-Sep-06 0:00
sandip788225-Sep-06 0:00 
Questionconfiguring SOAP extensions Pin
Leithaus22-Sep-06 13:01
Leithaus22-Sep-06 13:01 
Questioncapture audio in asp.net 1.1 with vb.net 1.1 Pin
amaneet22-Sep-06 9:30
amaneet22-Sep-06 9:30 
GeneralDisplay Images Revisited... Pin
code-frog22-Sep-06 8:00
professionalcode-frog22-Sep-06 8:00 
I'm using C# and ASP.Net in all of this.

So I'm basically not internalizing the concept, there's missing steps in the samples or I'm just thick.

Here's what I think I want to do:

1. I have a page MediaGallery.aspx in it I have 20 Image controls.
2. I want to pull images from SQLServer using a streaming ImageStream.aspx page that writes out the image as a byte[] stream.
3. The Page_Load event of the ImageStream.aspx will use a query string to parse the ImageID and pull the image from the sqldb and stream it out.
4. ImageX (where x > 0 < 21) will have it's .ImageURL = "ImageStream.aspx?ImageID=x".

My questions go like this. How exactly (please show me with some code if you don't mind) do I do this iteratively so that I can fill all 20 Image controls with the correct image and not have 20 instances of ImageStream.aspx? How do I close that page? Do I need to? How do I do this gracefully? I'm guessing since the Page_Load event of ImageStream.aspx outputs a binary stream that ImageStream.aspx never gets created as a page it just becomes a binary stream and that's that. If so how do I dispose of that stream or do I let the CLR manage that?

If someone could provide a snippet that shows how to link that up that would be really cool.

- Rex



GeneralRe: Display Images Revisited... Pin
Jon Sagara22-Sep-06 8:31
Jon Sagara22-Sep-06 8:31 
QuestionNested datalists Pin
jolfa200122-Sep-06 7:46
jolfa200122-Sep-06 7:46 
AnswerRe: Nested datalists Pin
Jim Conigliaro22-Sep-06 10:46
Jim Conigliaro22-Sep-06 10:46 
QuestionAdding more data to page Pin
impeham22-Sep-06 5:21
impeham22-Sep-06 5:21 
AnswerRe: Adding more data to page Pin
ToddHileHoffer22-Sep-06 7:27
ToddHileHoffer22-Sep-06 7:27 
AnswerRe: Adding more data to page Pin
Garry Shutler23-Sep-06 6:00
Garry Shutler23-Sep-06 6:00 
Questioncapture audio in Web App Pin
lgelliott22-Sep-06 4:42
lgelliott22-Sep-06 4:42 
AnswerRe: capture audio in Web App Pin
bnieland22-Sep-06 6:20
bnieland22-Sep-06 6:20 
GeneralRe: capture audio in Web App Pin
lgelliott25-Sep-06 2:14
lgelliott25-Sep-06 2:14 
QuestionGridview header visible Pin
waddie122-Sep-06 4:04
waddie122-Sep-06 4:04 
AnswerRe: Gridview header visible Pin
Kschuler22-Sep-06 8:12
Kschuler22-Sep-06 8:12 
QuestionUnable to debug project Pin
DanB198322-Sep-06 4:04
DanB198322-Sep-06 4:04 
GeneralRe: Unable to debug project Pin
Elina Blank22-Sep-06 6:25
sitebuilderElina Blank22-Sep-06 6:25 
AnswerRe: Unable to debug project Pin
DanB198325-Sep-06 4:12
DanB198325-Sep-06 4:12 
QuestionIs there a way to check that a Session variable exists without using try/catch? Pin
Red_Wizard_Shot_The_Food22-Sep-06 2:28
Red_Wizard_Shot_The_Food22-Sep-06 2:28 
AnswerRe: Is there a way to check that a Session variable exists without using try/catch? Pin
_AK_22-Sep-06 2:33
_AK_22-Sep-06 2:33 
GeneralRe: Is there a way to check that a Session variable exists without using try/catch? Pin
Red_Wizard_Shot_The_Food22-Sep-06 2:36
Red_Wizard_Shot_The_Food22-Sep-06 2:36 

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.