Connection String Is not Working Object instance reference is null
问题 //'Object reference not set to an instance of an object.' Please Do not mark it as redundant question . I have tried almost all the methods to make a connection string first one is by : string connectionString = ConfigurationManager.ConnectionStrings["ClinicalConnectionString"].ConnectionString; the second one : string connectionstringgg = Properties.Settings.Default.ClinicalConnectionString; third method is by : ConnectionStringSettings connectionSetting = ConfigurationManager