How can i insert data from access file into listview in C#?

Thanks

Recommended Answers

All 4 Replies

You need to stablish a connection to the access database. Then you must create a command to select the relevant recortds from the table you want.

You will need a datatable where, using a table adapter (from the commend created), you'll fill with the data.

Then you can use the datatable as data source for the listview.

Hope this helps

thanks, it's work now, if someone want's the code i'll publish it

Glad to know. Is always a good practice to share you final solution with others.
And please be so kind to mark the thread as solved.
Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.