473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

where to store user settings

Bob
I am a new java convert to asp.net. I'm trying to create
an web application that will allow users to change their
custom settings easily. Is there a class in .net that is
similar to java's Property class that can deal with
user's custom settings?
Nov 18 '05 #1
3 1925
Hi Bob,

Not sure that this is what you're after, but the usual way is to create an
ArrayList to hold the preferences:

http://msdn.microsoft.com/library/de...classtopic.asp

After that you can store them permanently in SQL Server and fetch them into
a Session object for use during browsing:

http://msdn.microsoft.com/library/de...mberstopic.asp

"Bob" <an*******@discussions.microsoft.com> wrote in message
news:0d****************************@phx.gbl...
I am a new java convert to asp.net. I'm trying to create
an web application that will allow users to change their
custom settings easily. Is there a class in .net that is
similar to java's Property class that can deal with
user's custom settings?


Nov 18 '05 #2
I think you can store custom information of user to
database and then you can write a class for them setting.
-----Original Message-----
I am a new java convert to asp.net. I'm trying to createan web application that will allow users to change their
custom settings easily. Is there a class in .net that issimilar to java's Property class that can deal with
user's custom settings?
.

Nov 18 '05 #3
You should use an <appSettings> tag under <System.Web> in web.config. I
believe there is also a class that encapsulates this and you can break out
of the web.config file (like when you have thousands of users to track) by
specifying a type attribute.

This should get you started finding what you need.
"Bob" <an*******@discussions.microsoft.com> wrote in message
news:0d****************************@phx.gbl...
I am a new java convert to asp.net. I'm trying to create
an web application that will allow users to change their
custom settings easily. Is there a class in .net that is
similar to java's Property class that can deal with
user's custom settings?

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sam Carleton | last post by:
It is my understanding that in .Net the registry is not the prefered place to save application settings. What has Microsoft put in place to replace it? I thought it was the .config file, but I...
22
by: Tony Houghton | last post by:
I'm using pygame to write a game called Bombz which needs to save some data in a directory associated with it. In Unix/Linux I'd probably use "~/.bombz", in Windows something like "C:\Documents...
4
by: Marco | last post by:
Hi to All, I'm developing an application in VB .NET. I have a question: what is the best place to save personal settings of my users? I mean, when a user uses my application, it can create a...
0
by: Harley | last post by:
I am trying to write a personal app to keep a bank balance and history. The problem I'm haveing is finding a decent way to store the data on a pocketpc under .net compact framewok useing vb.net....
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
4
by: Dave | last post by:
I have some data values that will will rarely change over the life of the program. I don't think it is wise to save it in a database. Is it ok to save them in Properties.Settings if I have many...
4
by: Ronald S. Cook | last post by:
I want to maintain a list of value/pairs in my Windows application. Where is the best way to store this? Do I want to use Application Settings and have a row for each value pair? There will be...
1
by: raz230 | last post by:
I have a vb.net project. I am using app.config to store some data that I want the user to be able to change. I do this: My.Settings.Host = txtURL.text.trim My.Settings.Save My.Settings.Reload...
3
by: Earl | last post by:
..Net Winforms app. I'm currently using the database to store user options. But I wonder if there is a better, faster technique. For a simple example, look at the Visual Studio 2005 Tools Options...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.