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 15837 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies