//this works
using (SqlConnection dbconn = DB.dbConn())
{
dbconn.Open();
using (IDataReader rs = DB.GetRS("select P.* from Product P where P.ProductID=3", dbconn))
//this does not work
using (SqlConnection dbconn = DB.dbConn())
{
dbconn.Open();
using (IDataReader rs = DB.GetRS("select P.*, pm.name from Product P join productmanufacturer pm on p.productid = pm.productid where P.ProductID=3", dbconn))
|