JohnDW
Well-known member
Hello,
I have a view in sql server. ViewInkPermndLing2.
The Query for ViewInkPermndLing2 :
Is there a way to put a 0 (number as integer), instead of the null values
when there's no data in the query above (from view ViewInkPermndLing2). I need that view to calculate in the datagridview that
is filled with that view (ViewInkPermndLing2).
THanks,
John
I have a view in sql server. ViewInkPermndLing2.
The Query for ViewInkPermndLing2 :
VB.NET:
SELECT Month(Datum),
SUM(CASE WHEN Year(Datum) = 2012 THEN Som END) As [Year2012]
FROM dbo.ViewInkPermndLing1
GROUP BY Month(Datum)
Is there a way to put a 0 (number as integer), instead of the null values
when there's no data in the query above (from view ViewInkPermndLing2). I need that view to calculate in the datagridview that
is filled with that view (ViewInkPermndLing2).
THanks,
John