473,386 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to write a code to retrieve the image (DataType) in the mssql

1
Do you know how to write a code to retrieve the image (DataType) in the mssql?
The image file is save in the desktop application, and now i need to do a web to display a image from mssql.
Did anyone know that?
TQ
Oct 18 '07 #1
3 1953
ak1dnar
1,584 Expert 1GB
The image file is save in the desktop application
Could you please explain it little bit clearly. from where you want to read the images. ?
Oct 18 '07 #2
Motoma
3,237 Expert 2GB
Do you know how to write a code to retrieve the image (DataType) in the mssql?
The image file is save in the desktop application, and now i need to do a web to display a image from mssql.
Did anyone know that?
TQ
I believe you will just run a header() call for the type of image it is, and then echo the data.
Oct 18 '07 #3
pbmods
5,821 Expert 4TB
Heya, TQ. Welcome to TSDN!

To determine the type of an image file, use getimagesize() (I know it sounds kinda silly, but read about halfway down the page).
Oct 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Marwin | last post by:
Hi all, I have a database with 40GB of binary objects stored in image columns in two tables. Our database server is also used for another 15 databases. SQL Server caches the image-column,...
2
by: kabin selvam | last post by:
Hi, my scenario is like this, I have my document (word.or excel or pdf) stored a s a binary value(image datatype) in database, I need it to convert back into thedocument and save it as the file...
5
by: Jason Huang | last post by:
Hi, I have a PassWord column in SQL Server 2000 which is image datatype. How do I transfer or decode/encode text to image datatype so that my SQL Server recongnize it? Any help will be...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
5
by: Ken | last post by:
I'm trying to run a loop to capture column property information from a table in my datasource. Can anybody see where this is going wrong? Dim tbl As New DataTable Dim col As DataColumn Dim x...
1
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using vb.net2005 And sql2005 See The Attachment This is Error When i retrieve image from Db I store Picture as datatype image Please See The Attachment
0
by: pickforc | last post by:
I'm relatively new to MSSQL and finding it difficult to find information on how to search for datatypes. I have several MSSQL DB's I'm using as datasources for reporting and need to find out which...
10
by: Nathan Sokalski | last post by:
I am using ASP.NET 2.0, and need to know how to save and use an image that is stored in an SQL Server image datatype. How can I do this using ASP.NET? Thanks.
1
by: bipinskulkarni | last post by:
Is there any datatype in MYSQL which replaces XML Datatype? XML datatype i used in stored procedure for bulk input.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.