Click here to Skip to main content
15,889,096 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow do you pass values to a datasource Pin
AndyASPVB1-Feb-09 10:39
AndyASPVB1-Feb-09 10:39 
AnswerRe: How do you pass values to a datasource Pin
sana171-Feb-09 22:20
sana171-Feb-09 22:20 
GeneralRe: How do you pass values to a datasource Pin
AndyASPVB2-Feb-09 7:55
AndyASPVB2-Feb-09 7:55 
GeneralRe: How do you pass values to a datasource Pin
sana173-Feb-09 1:06
sana173-Feb-09 1:06 
GeneralRe: How do you pass values to a datasource Pin
AndyASPVB3-Feb-09 8:51
AndyASPVB3-Feb-09 8:51 
GeneralRe: How do you pass values to a datasource Pin
sana174-Feb-09 1:34
sana174-Feb-09 1:34 
QuestionHow do you add childnodes to a treeview? Pin
AndyASPVB1-Feb-09 10:35
AndyASPVB1-Feb-09 10:35 
QuestionImage not been displayed from SQL Pin
Anita_Kamat_inds1-Feb-09 4:38
Anita_Kamat_inds1-Feb-09 4:38 
Any Help will do!!!

I am using this code to display an image from a sql server to an asp.net page:

dr.Read();
{

Response.ContentType = "image/Jpeg";
Response.Expires = 0;
Response.Buffer = true;
Response.Clear();
Response.BinaryWrite((byte[])dr["FileData"]);
Response.End();

}

And all I see is this on the page : System.Web.HttpPostedFile
Cry | :((
Please help me!!!
AnswerRe: Image not been displayed from SQL Pin
Colin Angus Mackay1-Feb-09 12:43
Colin Angus Mackay1-Feb-09 12:43 
GeneralRe: Image not been displayed from SQL Pin
vaghelabhavesh1-Feb-09 13:02
vaghelabhavesh1-Feb-09 13:02 
GeneralRe: Image not been displayed from SQL Pin
Colin Angus Mackay1-Feb-09 13:04
Colin Angus Mackay1-Feb-09 13:04 
GeneralRe: Image not been displayed from SQL Pin
Anita_Kamat_inds1-Feb-09 16:19
Anita_Kamat_inds1-Feb-09 16:19 
GeneralRe: Image not been displayed from SQL Pin
Colin Angus Mackay2-Feb-09 8:43
Colin Angus Mackay2-Feb-09 8:43 
GeneralRe: Image not been displayed from SQL Pin
Anita_Kamat_inds2-Feb-09 9:02
Anita_Kamat_inds2-Feb-09 9:02 
GeneralRe: Image not been displayed from SQL Pin
Colin Angus Mackay2-Feb-09 9:53
Colin Angus Mackay2-Feb-09 9:53 
GeneralRe: Image not been displayed from SQL Pin
Anita_Kamat_inds2-Feb-09 10:01
Anita_Kamat_inds2-Feb-09 10:01 
GeneralRe: Image not been displayed from SQL Pin
Anita_Kamat_inds1-Feb-09 16:06
Anita_Kamat_inds1-Feb-09 16:06 
GeneralRe: Image not been displayed from SQL Pin
Anita_Kamat_inds1-Feb-09 16:08
Anita_Kamat_inds1-Feb-09 16:08 
QuestionGridview binding to both base n derived classes Pin
dotnet.coder1-Feb-09 2:59
dotnet.coder1-Feb-09 2:59 
AnswerRe: Gridview binding to both base n derived classes Pin
Manas Bhardwaj1-Feb-09 4:01
professionalManas Bhardwaj1-Feb-09 4:01 
QuestionLabel and Absolute Positioning Pin
swjam1-Feb-09 1:15
swjam1-Feb-09 1:15 
QuestionAutocomplete AJAX Pin
CrimeanTurtle20081-Feb-09 0:23
CrimeanTurtle20081-Feb-09 0:23 
Questionjavascript Pin
kushalrshah1-Feb-09 0:06
kushalrshah1-Feb-09 0:06 
AnswerRe: javascript Pin
mr_muskurahat1-Feb-09 3:17
mr_muskurahat1-Feb-09 3:17 
AnswerRe: javascript Pin
vaghelabhavesh1-Feb-09 12:56
vaghelabhavesh1-Feb-09 12:56 

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.