Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: system.web.mail question Pin
Jody Bell8-Apr-03 9:28
Jody Bell8-Apr-03 9:28 
GeneralRe: system.web.mail question Pin
Leon van Wyk10-Apr-03 2:09
professionalLeon van Wyk10-Apr-03 2:09 
GeneralFormating the xml-output from a DataSet Pin
Knappen8-Apr-03 5:33
Knappen8-Apr-03 5:33 
GeneralRe: Formating the xml-output from a DataSet Pin
Le centriste8-Apr-03 6:11
Le centriste8-Apr-03 6:11 
GeneralRe: Formating the xml-output from a DataSet Pin
Bruce Duncan9-Apr-03 1:19
Bruce Duncan9-Apr-03 1:19 
GeneralRe: Formating the xml-output from a DataSet Pin
Knappen9-Apr-03 3:36
Knappen9-Apr-03 3:36 
GeneralListBox and DataSource Pin
mkomasi8-Apr-03 4:52
mkomasi8-Apr-03 4:52 
GeneralRe: ListBox and DataSource Pin
Chris Jobson8-Apr-03 8:24
Chris Jobson8-Apr-03 8:24 
One method that will work is to invoke the Refresh method of the Currencymanager objects involved, e.g. after you've moved an object from one ArrayList to the other:
CurrencyManager cm = BindingContext[USStatesA] as CurrencyManager;<br />
if (cm != null) cm.Refresh();<br />
cm = BindingContext[USStatesB] as CurrencyManager;<br />
if (cm != null) cm.Refresh();


A nicer method might be to wrap the ArrayLists (or derive from them) in an object of your own which implements the IBindingList interface. This allows an event to be raised when the list is changed, and I assume that the CurrencyManager traps this event and automatically updates the bound controls (but this is based only on my understanding of the documentation - I haven't tried it Unsure | :~ ).

Chris Jobson
GeneralRe: ListBox and DataSource Pin
mkomasi8-Apr-03 19:12
mkomasi8-Apr-03 19:12 
GeneralRe: ListBox and DataSource Pin
Chris Jobson9-Apr-03 8:03
Chris Jobson9-Apr-03 8:03 
GeneralAdding a progressbar to a statusbar Pin
monrobot138-Apr-03 4:50
monrobot138-Apr-03 4:50 
GeneralRe: Adding a progressbar to a statusbar Pin
Chris Austin8-Apr-03 5:37
Chris Austin8-Apr-03 5:37 
GeneralRe: Adding a progressbar to a statusbar Pin
monrobot138-Apr-03 6:42
monrobot138-Apr-03 6:42 
GeneralRe: Adding a progressbar to a statusbar Pin
Thomas Freudenberg8-Apr-03 13:55
Thomas Freudenberg8-Apr-03 13:55 
GeneralRe: Adding a progressbar to a statusbar Pin
Thomas Freudenberg8-Apr-03 13:58
Thomas Freudenberg8-Apr-03 13:58 
QuestionGetLocaleInfo for .NET? Pin
Alvaro Mendez8-Apr-03 4:46
Alvaro Mendez8-Apr-03 4:46 
AnswerRe: GetLocaleInfo for .NET? Pin
Chris Jobson8-Apr-03 8:33
Chris Jobson8-Apr-03 8:33 
GeneralRe: GetLocaleInfo for .NET? Pin
Alvaro Mendez8-Apr-03 9:15
Alvaro Mendez8-Apr-03 9:15 
GeneralCustomize a Column Header of a Windows Form DataGrid Pin
mcolucci8-Apr-03 4:35
mcolucci8-Apr-03 4:35 
GeneralDataBase > Need the Amount of records in a database Pin
Leon van Wyk8-Apr-03 3:20
professionalLeon van Wyk8-Apr-03 3:20 
GeneralRe: DataBase > Need the Amount of records in a database Pin
Catherder8-Apr-03 4:02
Catherder8-Apr-03 4:02 
GeneralJ# Not C# Pin
oggychristie8-Apr-03 2:16
oggychristie8-Apr-03 2:16 
GeneralRe: J# Not C# Pin
Katalyst8-Apr-03 5:31
Katalyst8-Apr-03 5:31 
GeneralMirroring Explorer Functionality Pin
MrEyes8-Apr-03 1:24
MrEyes8-Apr-03 1:24 
GeneralRe: Mirroring Explorer Functionality Pin
MrEyes8-Apr-03 6:13
MrEyes8-Apr-03 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.