문제

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?

도움이 되었습니까?

해결책

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;

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top