/// <summary> /// Codes the column names. /// </summary> /// <returns></returns> public InputColumnHeaders CodeColumnNames() { InputColumnHeaders columnHeaders = new InputColumnHeaders { Level1 = Level1CodeColumnName, Level2 = Level2CodeColumnName, Level3 = Level3CodeColumnName }; return(columnHeaders); }
/// <summary> /// The names of the columns that contain the matched names used to find the codes. /// </summary> /// <returns>The Column Names</returns> public InputColumnHeaders MatchColumnNames() { InputColumnHeaders columnHeaders = new InputColumnHeaders { Level1 = Level1MatchedColumnName, Level2 = Level2MatchedColumnName, Level3 = Level3MatchedColumnName }; return(columnHeaders); }
public DataTable Data(InputColumnHeaders inputColumnHeaders) { DataTable dt = new DataTable(); dt.Columns.Add("Row"); dt.Columns.Add(inputColumnHeaders.Level1); dt.Columns.Add(inputColumnHeaders.Level2); dt.Columns.Add(inputColumnHeaders.Level3); foreach (KeyValuePair<int, string[]> line in lines2) { object[] values = {line.Key, line.Value[0], line.Value[1], line.Value[2]}; dt.LoadDataRow(values, true); } return dt; }
private void SetColumnNames() { InputColumnHeaders inputColumnHeaders = new InputColumnHeaders(); inputColumnHeaders.Level1 = cboLevel1.SelectedValue as string; inputColumnHeaders.Level2 = cboLevel2.SelectedValue as string; inputColumnHeaders.Level3 = cboLevel3.SelectedValue as string; geoCoder.SetInputColumns(inputColumnHeaders); }
public void SetColumnNames(InputColumnHeaders columnHeaders) { columnHeaders.Validitate(); ColumnHeaders = columnHeaders; }
/// <summary> /// The names of the columns that contain the matched names used to find the codes. /// </summary> /// <returns>The Column Names</returns> public InputColumnHeaders MatchColumnNames() { InputColumnHeaders columnHeaders = new InputColumnHeaders { Level1 = Level1MatchedColumnName, Level2 = Level2MatchedColumnName, Level3 = Level3MatchedColumnName }; return columnHeaders; }
/// <summary> /// Codes the column names. /// </summary> /// <returns></returns> public InputColumnHeaders CodeColumnNames() { InputColumnHeaders columnHeaders = new InputColumnHeaders { Level1 = Level1CodeColumnName, Level2 = Level2CodeColumnName, Level3 = Level3CodeColumnName }; return columnHeaders; }
private static InputColumnHeaders InputColumnNames() { InputColumnHeaders inputColumnHeaders = new InputColumnHeaders(); inputColumnHeaders.Level1 = "admin1"; inputColumnHeaders.Level2 = "admin2"; inputColumnHeaders.Level3 = "admin3"; return inputColumnHeaders; }