View Complete Post
Ok I need some help. I'm on my test DB and I have a table that has an image inside of it. How can I script an image so when I move from my test DB to my productino DB i can just run the script and have my images inserted in the table.
My table is called Faculty_PhotoInfo with these columns:
Right now if I insert a row into the table it will show up like this:
3 <Binary data>
IMG_TESTIMAGE.jpg Mr.Johnson Head Teacher Test Description
The part I don't understand how to do is, these images will stay on my local test machine. So when I run the script on the Production site how will it know what these images are?
Thanks you all!!
I have a report using an image control that needs to display an image inside subfolder "Images\InstitutionLogos\".
On properties of image control i have the following properties set:
Source = Database
Value ="\Images\InstitutionLogos\" +Fields!InstitutionID.Value+".png"
Inside subfolder "Images\InstitutionLogos\" each image is named with a number which represents Fields!InstitutionID.,(ex, 1.png, 2.png, 10.png)
However, when i run the report the image just displays an X, what am i missing?
i Want to show data for single employee like this like this
Emp Id : xyz
Emp Name : abc
Child name Date of birth education
abc 12/12/2000 o levels
i wanted to store image in sqlserver database image field and i did. But now in some cases i want to store null value in that image field please let me know how to do this using file uploader.please give complete sample code.
I've created 2 web user controls. A = User control that displays an image, and B is the user control that hosts A. I'm trying to stream an array of bytes to A, but it seems like the Response.BinaryWrite method completely overwrites any heirachial controls (I can't see any of B's other controls besides the image).
How do I get A to just display the image from the byte stream? It doesn't come from a database, it's an image I created on the fly.
public void UpdateImage(byte imgbytes)
Response.ContentType = "image/jpg";
hello friends...please help me to solve this problem....
i have created crud (create, retive, update and delete)form and it's running... here i want to add images for each record(sql database)....
i'm using image datatype in sql table for picture.....
Q 1: how to save and retrive binary data(image) from sql table in asp.net form using vb coding?
Q2: can i create sql table which store binary(image url) data direct?