September 27, 2013 at 1:31 pm
Sean Lange (9/27/2013)
Hard coded connection strings are for this guy.
Sean, that is priceless! I've saved it to use on a someone I work with. 😀
I've never hard-coded a database connection string in a .NET application and can't even think of case where it should be done. Don't let him snow you into thinking it's a good idea - it's one of the worst ideas ever. It's so simple to pull the connection string from the web.config that it shouldn't even warrant a conversation.
September 27, 2013 at 1:32 pm
Ed Wagner (9/27/2013)
Sean Lange (9/27/2013)
Hard coded connection strings are for this guy.Sean, that is priceless! I've saved it to use on a someone I work with. 😀
Glad you enjoyed it. 😀
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply