HydrologicEngineeringCenter / ExcelToCWMS

1 stars 2 forks source link

Adding Units in Import spreadsheet to address issue #6 #9

Closed Tich1212 closed 3 years ago

Tich1212 commented 3 years ago

issue #6

Tich1212 commented 3 years ago

I think you need tsDict.Add(tsid, new TimeSeries(tsid,units)); instead of tsDict.Add(header....)

using them to get the right column in the table : string value = row.Field<string>(header);