MySql from windows .net

I would like to write some simple reports pertaining to call recordings and write a simple application to copy a recorded call file to a users machine.

I need to do 2 things 1)access the database from .net via odbc, 2)figure out how the recording files are indexed to the calls in the database.

Can anyone share some tips on either of these topics?

You can use mono-mysql library whihc is for mono platform for windows and Unix operating system. You can access asteriskcdrdb using AGI script. which is able to communicate with Asterisk+mysql.

refer this