SYNTAX HIGHLIGHTER

Saturday, September 13, 2014

c# - Write values in app.config

Introduction

We all have used app.config appsettings in our applications. when try to add or edit appsettings in run time it will only persist state for current user session.  if restart the app the saved appsetting will have lost.in this post I am trying to resolve the problem.

Main View


Save appSetting in runtime

if this code block save appSetting that will not reflect to current user session. to change current session value you need to add next image's code



Update current user session


Complete code block



Download code sample Click here

I most welcome your comments

No comments:

Post a Comment