I want to get difference between two dates using the datediff and i want to exclude the weekends.The Code below.
SqlDataAdapter sda = new SqlDataAdapter("SELECT [uSerial] " +", DATEDIFF(dd,[RestartDate],getDate()) as statusDuration ,[cutRefs] " "FROM [dbo].[tblFTTH_Fault_Tool]", conn);
DataTable ds = new DataTable();
sda.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
kindly assist.