private void LoadAreas() { dataTable = datafile.GetAreas(); cboAreas.DataSource = dataTable; cboAreas.DataValueField = "AreaID"; cboAreas.DataTextField = "AreaName"; cboAreas.DataBind(); }
private void LoadAreas() { dataTable = datafile.GetAreas(); cboAreas.DataSource = dataTable; cboAreas.DataValueField = "TypeId"; cboAreas.DataTextField = "UserType"; cboAreas.DataBind(); }