This is a migrated thread and some comments may be shown as answers.
Image and Blob
2 Answers 59 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 15 Oct 2009, 06:11 AM
Hi,
I've scanned through the docs but don't see any references to the best way to store an image in a SQLServer db.

Should I be using Telerik.Blob ?  If so, are there any examples of this in the docs?

Should I use a byte array ?

What are the pros and cons of each.

Thanks

2 Answers, 1 is accepted

Sort by
0
IT-Als
Top achievements
Rank 1
answered on 15 Oct 2009, 01:22 PM
Hi Chris,

To give you a short answer. Don't use the Telerik.Blob. As per the docs it is a class internal to OA.

I would go for the byte array since .NET have extensive support for this type, reading/writing to/from streams of all kind.

For MSSQL server the byte array (byte[]) is mapped to a column of the IMAGE SQL server type

Regards

HG
0
Chris
Top achievements
Rank 1
answered on 16 Oct 2009, 05:35 AM
thanks
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
IT-Als
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Share this question
or