Jignesh Kumar4y agoPosted Mar 23, 2022, 7:01 AMAccepted answerHi, You are missing appsetting in your project, "ConnectionStringName" value="false"/> Access this key from your code as below System.Configuration.ConfigurationSettings.AppSettings["ConnectionStringName"]; +1
Gajendra Jangid4y agoPosted Mar 23, 2022, 2:52 AMtry this linkhttps://docs.microsoft.com/en-us/visualstudio/ide/how-to-add-app-config-file?view=vs-2022 +1
Muhammad Imran Ansari4y agoPosted Mar 19, 2022, 9:40 AMCheck this link, how to add app.config into your project.https://docs.microsoft.com/en-us/visualstudio/ide/how-to-add-app-config-file?view=vs-2022 +1
MRMohamed Rafi4y agoPosted Mar 19, 2022, 9:08 AMi dont understand where to add this code? pls say clearly sir+1
MRMohamed Rafi4y agoPosted Mar 19, 2022, 7:11 AMwhere i have to add it? wherer i find project. Add config this file? i am very new to it.please clarify +1
Muhammad Imran Ansari4y agoPosted Mar 19, 2022, 6:50 AMThere is no App.config in your project. Add config file in your solution and the following key: "constr" value="YourConnectionString"/> +1
Jignesh KumarPosted Mar 23, 2022, 7:01 AM
Gajendra JangidPosted Mar 23, 2022, 2:52 AM
Muhammad Imran AnsariPosted Mar 19, 2022, 9:40 AM
Mohamed RafiPosted Mar 19, 2022, 9:08 AM
Mohamed RafiPosted Mar 19, 2022, 7:11 AM
Muhammad Imran AnsariPosted Mar 19, 2022, 6:50 AM