Click here to Skip to main content
16,005,120 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to call function Pin
Michael Sync30-Aug-07 0:06
Michael Sync30-Aug-07 0:06 
GeneralRe: how to call function Pin
Imran Khan Pathan30-Aug-07 0:34
Imran Khan Pathan30-Aug-07 0:34 
Questioncashing Pin
Sonia Gupta29-Aug-07 22:38
Sonia Gupta29-Aug-07 22:38 
AnswerRe: cashing Pin
Sathesh Sakthivel29-Aug-07 23:01
Sathesh Sakthivel29-Aug-07 23:01 
AnswerRe: cashing Pin
satyaki mishra29-Aug-07 23:01
satyaki mishra29-Aug-07 23:01 
Questionhow to display pictures in image tool Pin
n_gchaitra29-Aug-07 22:18
n_gchaitra29-Aug-07 22:18 
AnswerRe: how to display pictures in image tool Pin
Ather Ali Shaikh30-Aug-07 0:15
professionalAther Ali Shaikh30-Aug-07 0:15 
GeneralRe: how to display pictures in image tool Pin
n_gchaitra30-Aug-07 0:29
n_gchaitra30-Aug-07 0:29 
Hi Ather Ali,

I understood what you are telling but not getting how to do it. I have the following code. Picture is getting displayed. It is ok. But not in the image control. suppose if I have a imagecontrol Image1 how can i do this?

Dim ImageID As Integer = Convert.ToInt32(Request.QueryString("ImageID"))
'Connect to the database and bring back the image contents & MIME type for the specified picture
Const SQL As String = "SELECT [MIMEType], [Image] FROM [Pictures] WHERE [ImageID] = @ImageID"
Dim myCommand As New SqlCommand(SQL, myconnection)
myCommand.Parameters.AddWithValue("@ImageID", 1)

myconnection.Open()
Dim myReader As SqlDataReader = myCommand.ExecuteReader

If myReader.Read Then
Response.ContentType = myReader("MIMEType").ToString()
Response.BinaryWrite(myReader("Image"))
End If
myReader.Close()
myconnection.Close()

Chaitra N

GeneralRe: how to display pictures in image tool Pin
Ather Ali Shaikh1-Sep-07 18:38
professionalAther Ali Shaikh1-Sep-07 18:38 
GeneralRe: how to display pictures in image tool Pin
n_gchaitra2-Sep-07 17:07
n_gchaitra2-Sep-07 17:07 
QuestionEmail System and Discussion board or Forums Pin
ammar_nike29-Aug-07 21:28
ammar_nike29-Aug-07 21:28 
AnswerRe: Email System and Discussion board or Forums Pin
Michael Sync29-Aug-07 23:18
Michael Sync29-Aug-07 23:18 
GeneralRe: Email System and Discussion board or Forums Pin
ammar_nike30-Aug-07 0:24
ammar_nike30-Aug-07 0:24 
GeneralRe: Email System and Discussion board or Forums Pin
Michael Sync30-Aug-07 5:03
Michael Sync30-Aug-07 5:03 
AnswerRe: Email System and Discussion board or Forums Pin
Sathesh Sakthivel29-Aug-07 23:36
Sathesh Sakthivel29-Aug-07 23:36 
QuestionUsing hyper link how to pass one parameter value from one page to another page Pin
Member 387988129-Aug-07 21:24
Member 387988129-Aug-07 21:24 
AnswerRe: Using hyper link how to pass one parameter value from one page to another page Pin
Deepak the Cool29-Aug-07 22:05
Deepak the Cool29-Aug-07 22:05 
GeneralRe: Using hyper link how to pass one parameter value from one page to another page Pin
Member 387988129-Aug-07 22:36
Member 387988129-Aug-07 22:36 
GeneralRe: Using hyper link how to pass one parameter value from one page to another page Pin
Member 387988129-Aug-07 23:17
Member 387988129-Aug-07 23:17 
GeneralRe: Using hyper link how to pass one parameter value from one page to another page Pin
Deepak the Cool29-Aug-07 23:55
Deepak the Cool29-Aug-07 23:55 
GeneralRe: Using hyper link how to pass one parameter value from one page to another page Pin
Member 387988130-Aug-07 1:26
Member 387988130-Aug-07 1:26 
QuestionChangin the color or border of Dropdown List Pin
.NET- India 29-Aug-07 21:21
.NET- India 29-Aug-07 21:21 
AnswerRe: Changin the color or border of Dropdown List Pin
petersgyoung30-Aug-07 3:52
petersgyoung30-Aug-07 3:52 
QuestionI need to output to pdf an aspx form Pin
Big Ralph29-Aug-07 21:15
Big Ralph29-Aug-07 21:15 
QuestionPost XML File from asp page Pin
Ahmad Adnan29-Aug-07 20:58
Ahmad Adnan29-Aug-07 20:58 

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.