Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tony Kiernan 278 posts 341 karma points
    Feb 16, 2011 @ 17:14
    Tony Kiernan
    0

    C# Connection String syntax

    Excuse my VB ludditity. How do I use the connection string in a usercontrol?

    new SqlConnection("umbracoDbDSN");
  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 16, 2011 @ 17:39
    Lee Kelleher
    0

    Try using... 

    umbraco.GlobalSettings.DbDSN
  • Tony Kiernan 278 posts 341 karma points
    Feb 16, 2011 @ 18:01
    Tony Kiernan
    0

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft