Updating ApplicationSettings/Databindings at runtime

  • Thread starter Thread starter eljainc
  • Start date Start date
E

eljainc

Hello,

I have a control on a form which has in the properties collection the
following:

(PropertyBinding)
Password
Username


Also there are (DataBindings) properties.


I have a listbox where the user can select the user. Depending on
this, the program is to load from the application settings the
username and password:

Properties.Settings.Default.Username = user1 (user2, user3, etc).


However this behavior does not appear to work properly. Do I need to
call a method to update or validate these behaviors so that the
username/password is properly updated?

If this is not possible, is there a control/library out there which can
manage username/passwords for a number of users?

Mike McWhinney
 
Eljainc,

With the listbox (one of the complex datacontrols) you should use mostly the
DataSource, the displaymember and the valuemember.

Are you doing that?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top