Microsoft.Win32.OpenFileDialog openFileDialog = new Microsoft.Win32.OpenFileDialog();
openFileDialog.Filter = "csv File (.csv)|*.csv";
bool? useClick = openFileDialog.ShowDialog();
if (useClick == true)
{
var stream = openFileDialog.OpenFile();
stream.Seek(0, System.IO.SeekOrigin.Begin);
gcSpreadSheet1.Sheets[0].OpenCsv(stream,GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None);
//gcSpreadSheet1.Sheets[0].OpenCsv(stream, GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None, System.Text.Encoding.UTF8);
//gcSpreadSheet1.OpenCSV(0, stream, GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None);
//gcSpreadSheet1.OpenCSV(0, stream, GrapeCity.Windows.SpreadSheet.Data.TextFileOpenFlags.None, System.Text.Encoding.UTF8);
stream.Dispose();
}