/// <summary> /// 载入Excel数据 /// </summary> private void InitDataList() { dataset = ExcelDataHelper.ReadExcel(EXCEL_DATA_PATH + EXCEL_DATA_NAME); column = dataset.Tables[0].Columns.Count; //竖 row = dataset.Tables[0].Rows.Count; //横 }
/// <summary> /// 载入Excel数据 /// </summary> private void InitDataList() { _dataSet = ExcelDataHelper.ReadExcel(_dataPath); column = _dataSet.Tables[0].Columns.Count; //竖 row = _dataSet.Tables[0].Rows.Count; //横 }