private void dateTimePicker1_ValueChanged(object sender, EventArgs e) { DateTime date = dateTimePicker1.Value.Date; DT = MH.FreeHalls(date); venueList.DataSource = DT; venueList.DisplayMember = ("HALL_NO"); }