Try:
private void btmImport_Click(object sender, EventArgs e)
{
string filename = "";
OpenFileDialog dialog = new OpenFileDialog();
dialog.Title = "Open CSV File";
dialog.Filter = "CSV Files (L*.csv)|L*.csv";
if (dialog.ShowDialog() == DialogResult.OK)
{
filename = dialog.FileName;
DataTable data = new DataTable();
data = NewDataTable(filename, ",", true);
grdDataImp.DataSource = data;
}
}
Catching all exceptions just to rethrow them isn't really needed...