when using personlization, how do you access over setting at
runtime?

Answer Posted / karthika.s

One way to improve the usability of your application is to
allow personalization—where different users of the same
application have their own set of personalized settings. To
do this, you need a way to store user-specific data, such as
the size of the Window, the background color, etc. And while
some data should be user-specific, some data applies across
the board—things like database connection strings, Web
services URLs, etc.
You access the settings through the
Properties.Settings.Default class.It's important to
initialize the settings with a default value. If not,
accessing them during runtime will result in errors.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

1944


Explain Areas in MVC?

651


What is the difference between Hash table and Array list?

373


Explain the difference between asp.net mvc and asp.net webforms

574


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

540






Name the namespace which is used by ado.net?

528


How do active server pages work?

548


Why viewstate is used in asp.net?

508


I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)

1490


How does asp.net page work?

524


What is asp.net web application?

525


What is the use of web.config and machine.config files?

626


What are uri parameters?

543


what is command line compiler.what are the steps and how it is related to debugging.

1414


What are Authentication and Authorization?

604