Ask a Question related to ASP.NET General, Design and Development.
-
Matt #1
Displaying images from a MySQL Database
Hi
I'm have difficulty displaying images that are stored in a MySQL database.
I've tried using the odbc.net provider, the ByteFX provider and the
MySQLDriverCS one but can't seem to get the image to display on the screen.
I've tried searching on the net but can only find examples on how to do it
on SQL Server and havent had any luck converting them to work with MySQL.
I thought I had to put the data into a byte variable then use
Response.BinaryWrite to output it onto the screen like this:
byte tB;
tB = reader.GetByte(0);
Response.ContentType = "text/jpg";
//Response.BinaryWrite (myData.);
Response.BinaryWrite(tB);
but that doesn't seem to work. Can anyone point me in the right direction
or give me an example of how to do this.
Thanks
Matt Cartwright
Matt Guest
-
Displaying Chinese Character store in MySQL Database
Hi, is there anyone who know how to display chinese character store at MySQL database? I can display it correctly when using MS Access database.... -
Displaying Images from the Mysql Database
Hi! everyone, i need help with displaying the images from the database. I successfully inserted an image to mysql database by converting it to... -
Displaying images from a database in Flash MX Pro 2004
Hi, I have a simple MS Access database with 4 text fields, one of which contains image names (imageA.jpg, imageB.jpg, etc...). - - - Database... -
Displaying Database Images Horizontally
I want to display some product images and descriptions horizontally in a table. However, using SQL, I can only do this vertically as far as I can... -
Displaying & formatting text with mysql database
I need some help with formatting some text received from a database query. I am only selecting a single row per query so the formatting will only...



Reply With Quote

