Hi,
I am writing an app to display images displayed in a SQL server varbinary table.
All is going well, as the guts of the work are happening within
Now, my issue is when the SQL command returns a null (by design).
My question is, how do I check for nulls being returned by the above command? I have tried all sorts unsuccessfully
thanks in advance
I am writing an app to display images displayed in a SQL server varbinary table.
All is going well, as the guts of the work are happening within
Code:
byte[] content10 = (byte[])cmd10.ExecuteScalar();
Now, my issue is when the SQL command returns a null (by design).
My question is, how do I check for nulls being returned by the above command? I have tried all sorts unsuccessfully
thanks in advance