public DataSet GetEmployees(){SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=EmpDB;User ID=sa;Password=sa");con.Open();SqlCommand cmd = new SqlCommand("Select count(ID) from carbookingdetails where createdon=Getdate()", con);intCount= cmd.ExecuteScalar()if (intCount>10)alert("Booking is over for today");else{//do Insertion Process in carbookdetails table.}