Accessing the database with .Net

Accessing the database with .Net

Hi,
 
Currently we have a website which our users login with their AD account. Upon implementing this feature, we want to require each user to update their information. How can we query the database from our website to check if the user has updated the appropriate fields?
 
FYI: We are using ASP.NET C#, but if you have a VB example that's fine too as we'll make the required translations.

                  New to ADSelfService Plus?