Hi friends In this article i would like to explain "How to display daya by day information in graph with the help of ms chart control in Aspnet"First,open the sql server 2008Next select the NewQuery and check the following query
SELECT CONVERT(VARCHAR(5),DateTime,101) as Date, COUNT(sales) AS count FROM Products WITH (NOLOCK) WHERE DateTime BETWEEN @fromDate AND @todate GROUP BY CONVERT(VARCHAR(5),DateTime,101) ORDER BY Date ASC
Next,click on the execute button then it will display the data in hourly wi...
↧