This is a migrated thread and some comments may be shown as answers.

Displaying null in a picturebox

1 Answer 258 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 30 May 2012, 12:49 PM
There are time when i have a null value returned from a SQL Server image field. It is displaying an "invalid image data" error message. What the best way to get around this error message. I using the Telerik Reporting 2012 Q1 version in VS2010.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 May 2012, 12:58 PM
Hello John,

You can either change your field to be non nullable, replace the nulls with a default image i.e. N/A image or use the built-in IsNull function to specify valid value when the fields returns null.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or