If I worked with that, I'd be happy to help you.
But this is not the proper venue for finding that solution. I suggest that you check out some of the Wiley C# or SQL books.
Best of success
Coordinating Lead Author, Access 2003 VBA Programmer's Reference