how to change the values in custom section in app.config file. pleease find detailed images below.
Loading
how to change the values in custom section in app.config file. pleease find detailed images below.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jan 9, 2024, 6:00 AM
Suppose you have a custom section as
Then you can change the value as
Amit MohantyPosted Jan 9, 2024, 6:23 AM
NaveenPosted Jan 9, 2024, 6:18 AM
i am creating a windows form application
Jayraj ChhayaPosted Jan 9, 2024, 6:15 AM
Hi Naveen,
Your image is missing !!!.
To change the values in a custom section in the app.config file, you need to follow these steps:
Locate the app.config file in your project. It is usually located in the root directory of your project.
Open the app.config file in a text editor or in Visual Studio.
Find the custom section you want to modify. Custom sections are defined in the
element and have a specific name and structure.Locate the section you want to modify and find the corresponding
element. This element defines the structure and properties of the custom section.Inside the
element, you will find the properties or elements that you want to change. Modify the values of these properties according to your requirements.Save the changes to the app.config file.
Here is an example of a custom section in the app.config file:
In this example, you can change the values of
Setting1andSetting2inside theelement.Remember to save the changes and rebuild your project for the modifications to take effect.
NaveenPosted Jan 9, 2024, 6:00 AM
Please check now.
Jithu ThomasPosted Jan 9, 2024, 5:50 AM
Hello Naveen
Good morning...
Kindly note that the mentioned image is missing...
Regards,