What you can do is save the file on the server, after you read its contents, you can delete the file.
I think you cannot read from the client side. You must upload it to ur server in order to read this.
using (StreamReader CsvReader = new StreamReader(input_file)) { string inputLine = ""; while ((inputLine = CsvReader.ReadLine()) != null) { values.Add(inputLine.Trim().Replace(",", "").Replace(" ", "")); } CsvReader.Close(); return values; }
Bhavik goyal
source share