Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all articles
Browse latest Browse all 448

New Post: Set the datatype for a column via excelReader.AsDataSet()

$
0
0
I have a weird issue when I read an excel workbook and the column starts off as a set of numbers and then switches to alphanumeric. I need to force the asDataSet to set mixed column data to text... The dataset object sets it to typeof object... any ideas or examples?

Example:
Serial-------------------Tag--------------Room-----------Status
00234567z-------------T001------------104-------------In Use
00234567z-------------T002------------104-------------In Use
00234569z-------------T003z-----------104-------------In Use
00234570z-------------T004z------------104-------------In Use
00234571z-------------T005z------------112-------------In Use

Viewing all articles
Browse latest Browse all 448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>