c# - ADO.NET creating a consistent connection string -
i toying around rogue application , realized if deploy program on computer, crash because connection string absolute path.
data source=(localdb)\v11.0;attachdbfilename="c:\users\ad\documents\visual studio 2013\projects\botsuite test\botsuite test\users.mdf";integrated security=true;connect timeout=30
i thought looking in directory, setting string filepath , using deal issue seems there should easier way.
Comments
Post a Comment