Hi Mike,
I have writen a sample project to read the CSV file for you.
You can try the following Solution to see if it helps resolve your issue:
1). Save your eventlog into a directory: D:\test\test.csv
2). Create a system ODBC DNS for your test.csv
3). Use ADO.net ODBC provider to read this file and bind it to the WinForm
datagrid control to display
private void lightButton1_Click(object sender, System.EventArgs e)
{
OdbcDataAdapter oda = new OdbcDataAdapter("SELECT * FROM test.csv",
this.odbcConnection1);
DataSet ds = new DataSet();
oda.Fill(ds);
this.dataGrid1.DataSource = ds.Tables[0];
}
============================================
Please apply my suggestion above and let me know if it helps resolve your
problem.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.