protected void popStaffList() { sqc = new sqlController(); try { txtName.DataSource = sqc.GetServingStaff(); txtName.DataTextField = "Name"; txtName.DataValueField = "Name"; txtName.DataBind(); } catch (Exception ex) { } finally { sqc = null; } }