Hi,
I have this small issue regarding retrieving images from a sql server database and showing it in my page using a image control:
I have one page with several objects and a image control and a button to retrieve the image. The code works, but the image is shown within another page instead of the main page. here is the code and hope someone can help me on the way:
the database has 2 simple columns. one with a name with varchar(max) datatype and one for the image with image datatype
Protected Sub BtnInsertimage_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnInsertimage.Click
Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("SQLConnectionString").ConnectionString)
Dim cmd As New System.Data.SqlClient.SqlCommand
cmd.Connection = conn
&nbs ...
Go to the complete details ...