SQL reading the connection string
问题 is it possible to read the connection string from a txt file, by using the direct path of the said .txt file witch containts the connection string. The code is the following, i have this line wich i want to read the .txt file: SqlConnection conn = @"Data Source='C:\Users\Administrator\Desktop\connstring.txt'"; Instide the said txt file is the real connection string wich is this: @"Data Source=.\wintouch;Initial Catalog=bbl;User ID=sa;Password=Pa$$w0rd"; I know this might not be very safe but