>If I've got a stored procedure that returns results that don't have a corresponding business object, and thus no entity to go along with it, what's the best way to get those results into a dataset? I think I'd like to use a mmDataAccessSql class, but I still want it to grab the connection info from web.config rather than hardcode it and that's where I'm stuck w/ that approach.
>
>TIA,
>
>Eric
Here is how do you get connection string from web.config
System.Configuration.ConfigurationManager.ConnectionStrings("MyStringName").ConnectionString
However, in MM there should be a method already to get the connection string.
If it's not broken, fix it until it is.
My Blog