Hallo Leute,
ich hab nochmals eine Frage:
Also, ich bin dabei ein Programm zur Fehlererfassung zu schreiben.
Die Form enthält mehrere Steuerelemente wie Text/- Mask/- und Comboboxen...
Die Bindings und DataSources sehen so aus...
C#-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
| dvTDTyp = new DataView(this.dsTD.Tables["TD_Typ"]); this.currencyManager = (CurrencyManager)this.BindingContext[dvTDTyp]; this.dataGridViewToDo.DataSource = dvTDTyp;
this.comboBoxAllgemeinAnwendung.DataSource = this.dsTD.Tables["Modules"]; this.comboBoxAllgemeinAnwendung.DisplayMember = "mod_name"; this.comboBoxAllgemeinAnwendung.ValueMember = "mod_id"; this.comboBoxAllgemeinAnwendung.DataBindings.Add("SelectedValue", dvTDTyp, "ModuleID"); |
Wie kann ich die Bindings über den CurrencyManager löschen?,,,
Hab da sowas von Suspend gehört oder Änliches...
habt ihr ne Idee?..
Vielen Dank im Vorraus...