Question

I'm using Visual Studio 2010 Ultimate. In a simple Windows application I just want to have one form with a datagrid and a button that open the *.dbf spreadsheet file and put all the data in the dataGrid. I'm using C#. Could you help?

Was it helpful?

Solution

You'll find the basic code for setting up an ODBC connection here: http://joskovski.blogspot.com/2010/03/reading-dbf-files-from-net.html

And then you can uses something like dataGridView1.DataSource = dt;

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top