|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace manytomanytest {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e) {
// TODO: Diese Codezeile l�dt Daten in die Tabelle "manytomanyDataSet1.Personen". Sie k�nnen sie bei Bedarf verschieben oder entfernen.
this.personenTableAdapter.Fill(this.manytomanyDataSet1.Personen);
// TODO: Diese Codezeile l�dt Daten in die Tabelle "manytomanyDataSet1.Fruechte". Sie k�nnen sie bei Bedarf verschieben oder entfernen.
this.fruechteTableAdapter.Fill(this.manytomanyDataSet1.Fruechte);
// TODO: Diese Codezeile l�dt Daten in die Tabelle "manytomanyDataSet1.p_f". Sie k�nnen sie bei Bedarf verschieben oder entfernen.
this.p_fTableAdapter.Fill(this.manytomanyDataSet1.p_f);
boundCheckedListBox1.ChildDisplayMember = "Name";
boundCheckedListBox1.ChildValueMember = "fID";
boundCheckedListBox1.ParentValueMember = "pID";
boundCheckedListBox1.ParentIDMember = "ID";
boundCheckedListBox1.ChildIDMember = "ID";
boundCheckedListBox1.ParentDataSource = parentBindingSource;
boundCheckedListBox1.ChildDataSource = childBindingSource;
boundCheckedListBox1.RelationDataSource = relationBindingSource;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.