Where should I save the setting value like length of member code, separator for member code, in settings file or database? What is pros/cons?
Thanks.
Where should I save the setting value like length of member code, separator for
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should consider saving those details in setting files. You can use the scope as “user” so you will be able to modify these values at run time.
Take a look at this links
http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx
http://www.dotnetperls.com/settings