-2

Can anybody help me...I already google for almost 3 hours,but no solution found...How to set app.config value using javascript in C#?? Thanks...

2
  • 6
    question makes no sense. Commented Dec 7, 2011 at 10:06
  • 2
    Please explain what you mean by "using javascript in c#" Commented Dec 7, 2011 at 10:12

2 Answers 2

1

I assume you want to edit app.Config and you can't

App.config is serverside and javascript is clientside

Sign up to request clarification or add additional context in comments.

Comments

1

If you are crazy you might beable to use javascript and manipulate the app.config as if it is just plain xml

XML string manipulation in JS?

Madness though.

Even manipulating the config file through c# isn't the best idea. app.config is for initial setup - values that won't change during the lifetime of the app.

2nd answer here Is switching app.config at runtime possible? gives further details / reasons for not meddling

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.