Parsing a text file.
Posted on 2012-03-15
I apologize in advance for this question. I'm sure you get it constantly and you probably cringed when you read the question title.
I am working with a Silverlight application (C#). My application gathers information from my clients, quite a few server-side calculations are done, and then the analysis is delivered back to my clients.
My clients upload raw data files (usually fixed width or delimited text files) with vast amounts of information in them, most of which I don't need, to my server. There I parse the files and send the data back to the client to be displayed in a datagrid for validation purposes, essentially making sure the files are mapped appropriately.
I am looking for a way to eliminate the trip to the server before data validation. I would like to handle the parsing of the text file client side.
For what it is worth, I have access to ComponentOne's C1Data product for Silverlight, which basically gives me a subset of the System.Data namespace.
Thank you very much for your time.