title: How can I get data from another database in dotnetnuke?
body: <p>I'm just beginning to develop modules for dotnetnuke (just 2 weeks ago),</p>
  
  <p>I've installed DotNetNuke 6.2 perfectly on XP, I'm working with VS2008, and SQL SERVER 2008 express edition.</p>
  
  <p>I have a database called "dnn" that I use for the tables for framework  DNN.</p>
  
  <p>But now I want to get data from another database called Sales (for example) which is inside the same instance of the SQL Server 2008. I really don't have any idea how to connect with this database from my custom user control .aspx. I tried to put the normal code for connect with the database. I did generate the connection string, I did generate the connection, and do the queries from a c# class but this don't work.</p>
  
  <p>Yesterday I found a data access document from dotnetnuke -- but I don't understand how to implement a new connection in my custom module). So my question is, how I can connect with this Sales database?</p>