Beispiel #1
0
        public void ShowHistory(DataGridView dGV, Label id)
        {
            DataTable     result = data.getData();
            BindingSource bS     = new BindingSource();

            bS.DataSource  = result;
            dGV.DataSource = bS;
            id.DataBindings.Clear();
            id.DataBindings.Add("Text", bS, "ID", false, DataSourceUpdateMode.Never);
        }