title: How to query SQL database from SharePoint Dataview Webpart
body: <p>Is it possible to query a SQL database from a SharePoint web part? This is the scenario: 
  I created a SharePoint custom list, and a data view web part. This list has several columns such as Name, Last Name, Address, etc. One of the columns is called "Customer_number".  There is a SQL database that contains pretty much the same fields as my list, and I would like to check the info entered or missing against this database using the "Customer_number" as reference. If the info entered in the web form is incorrect or missing, the data from the SQL database will replace it. Is it possible to this this? Can anyone give me some reference? I’ve been searching on the internet and I get so many different responses that I really don’t know what else to do. Thanks!</p>