Please check this post.Thanks

http://bytes.com/topic/net/insights/635615-how-use-database-your-program