Reputation: 1729
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.
Upvotes: 0
Views: 737
Reputation: 2336
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
Upvotes: 1