Click here to Skip to main content
15,920,603 members
Home / Discussions / C#
   

C#

 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan10-Feb-11 4:27
mveRichard MacCutchan10-Feb-11 4:27 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Eddy Vluggen10-Feb-11 4:52
professionalEddy Vluggen10-Feb-11 4:52 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan10-Feb-11 5:09
mveRichard MacCutchan10-Feb-11 5:09 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Eddy Vluggen10-Feb-11 7:16
professionalEddy Vluggen10-Feb-11 7:16 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan10-Feb-11 10:23
mveRichard MacCutchan10-Feb-11 10:23 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Henry Minute10-Feb-11 13:06
Henry Minute10-Feb-11 13:06 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan11-Feb-11 4:08
mveRichard MacCutchan11-Feb-11 4:08 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Henry Minute11-Feb-11 8:28
Henry Minute11-Feb-11 8:28 
I just wanted confirmation of how you were binding before I made my suggestion in order to prevent my usual faux pas.

You need to change the type of your volList to BindingList<Volunteer>

Then in your ShowVolunteers()
C#
volList = new BindingList<Volunteer>(vols.Values.ToList());


*****NOTE****
This will propagate the deletion only as far as the bindingSource NOT to vols. To make this useful you will need to rebuild vols from bindingSource.List at an appropriate point.

Hope this helps. Smile | :)
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan12-Feb-11 3:09
mveRichard MacCutchan12-Feb-11 3:09 
GeneralRe: Two way data binding (DataGridView to SortedList) Pin
Richard MacCutchan13-Feb-11 1:40
mveRichard MacCutchan13-Feb-11 1:40 
QuestionHow to localize BackgroundWorker thread? Pin
Chesnokov Yuriy10-Feb-11 1:54
professionalChesnokov Yuriy10-Feb-11 1:54 
AnswerRe: How to localize BackgroundWorker thread? Pin
Pete O'Hanlon10-Feb-11 2:05
mvePete O'Hanlon10-Feb-11 2:05 
AnswerRe: How to localize BackgroundWorker thread? Pin
Chesnokov Yuriy10-Feb-11 2:29
professionalChesnokov Yuriy10-Feb-11 2:29 
AnswerRe: How to localize BackgroundWorker thread? Pin
Bernhard Hiller10-Feb-11 5:04
Bernhard Hiller10-Feb-11 5:04 
QuestionRe: How to localize BackgroundWorker thread? Pin
Chesnokov Yuriy10-Feb-11 6:27
professionalChesnokov Yuriy10-Feb-11 6:27 
QuestionRun Application With Non Administrator Mode Pin
Anubhava Dimri9-Feb-11 18:54
Anubhava Dimri9-Feb-11 18:54 
AnswerRe: Run Application With Non Administrator Mode Pin
Eddy Vluggen10-Feb-11 7:19
professionalEddy Vluggen10-Feb-11 7:19 
QuestionValidation techneques? Pin
venomation9-Feb-11 16:19
venomation9-Feb-11 16:19 
AnswerRe: Validation techneques? Pin
Keith Barrow9-Feb-11 22:51
professionalKeith Barrow9-Feb-11 22:51 
AnswerRe: Validation techneques? Pin
Dalek Dave9-Feb-11 23:02
professionalDalek Dave9-Feb-11 23:02 
AnswerRe: Validation techneques? Pin
Bernhard Hiller10-Feb-11 5:13
Bernhard Hiller10-Feb-11 5:13 
GeneralRe: Validation techneques? Pin
venomation10-Feb-11 7:43
venomation10-Feb-11 7:43 
AnswerRe: Validation techneques? Pin
Matty2210-Feb-11 16:07
Matty2210-Feb-11 16:07 
QuestionHelp with excel and hyperlinks Pin
turbosupramk39-Feb-11 10:11
turbosupramk39-Feb-11 10:11 
AnswerRe: Help with excel and hyperlinks Pin
Dalek Dave9-Feb-11 11:23
professionalDalek Dave9-Feb-11 11:23 

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.