Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Results from Stored Procedure
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01412039
Message ID:
01412043
Views:
50
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform