You'll need to update your code to account for the possibility that the denominator could be zero even after the form is submitted.
You'll also need to adjust the calculation - currently you're performing integer division, so your result will either be 0% or 100%.
Try:
ViewBag.Percentage = selectdate.Count == 0 ? 0D : 100D * (double)selectpass.Count / selectdate.Count;