using (SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["dbx"].ConnectionString)) { using (SqlCommand cmd = new SqlCommand("usp_ChartData2", conn)) { cmd.CommandType = CommandType.StoredProcedure;
CREATE PROCEDURE [dbo].[usp_ChartData2] ( @FromYear NVARCHAR(50) ,@ToYear NVARCHAR(50) ) AS
BEGIN
SELECT SUM([Total]) AS 'Total' ,DATEPART(yyyy, [DateOfOrder]) AS 'Year' FROM [dbo].[Orders] GROUP BY DATEPART(yyyy, [DateOfOrder]) HAVING DATEPART(yyyy, [DateOfOrder]) >= @FromYear AND DATEPART(yyyy, [DateOfOrder]) <= @ToYear
how can download this video????
ReplyDeleteYou can download it from YouTube.com,using youtube downloader.
Delete