If there is any example code for this i would greatly appreciate it.
Thanks,
Duncan
6 Answers, 1 is accepted
In general, the Image data type of MS SQL Server is mapped to a byte[] property in you Domain Class. This array can easily be retrieved by the function ReadFile if you have the file locally. Otherwise, it can be retrieved from the HTTP Request by different file upload controls, including the Uploader control in Rad Controls for ASP.NET AJAX.
Unfortunately we don't have a full example for this process, but it's a good idea for a new sample that will definitely be considered after the upcoming release.
Do not hesitate to contact us if you have other questions.
Ivailo
the Telerik team
NEW and UPDATED OpenAccess ORM Resources. Check them out!
Duncan
We are going to notify you on this thread if and when such example is included in our SDK library and is available for download.
Greetings,
the Telerik team
NEW and UPDATED OpenAccess ORM Resources. Check them out!
Until we include it in some SDK project, you can use the preliminary version of the sample for reference. Please find it attached, I hope it helps.
Kind regards,
Ivailo
the Telerik team
NEW and UPDATED OpenAccess ORM Resources. Check them out!
This was what I was looking for.
Took me a while though, some search tags: OpenAccess, ORM, Save Picture, database, SQL Server
Erik