Devi usare ADO.NET.
Documentati sul web che ci sta tanta roba, tipo ad esempio su http://msdn.microsoft.com