SqlCommand cmd = new SqlCommand("Select name,designation,gender,date,status,remarks From [f_present] WHERE faculty_id= @faculty_id AND where date between @fromdate