public void bindGrid() { Dentist d = new Dentist(); DataSet ds = d.getDentistData(); gvDentist.DataSource = ds; gvDentist.DataBind(); }