private void frmAddUserToGroup_Load(object sender, EventArgs e) { dGV_UsGroupUs.DataSource = usr.LoadTableUsGroupUs(); dGV_User.DataSource = usr.LoadTableUser(); cbb_NameGroup.DataSource = usr.LoadNameGroupUser(); cbb_NameGroup.ValueMember = "ID"; cbb_NameGroup.DisplayMember = "NAME_GROUP_USER"; }
//private void gROUP_USERBindingNavigatorSaveItem_Click(object sender, EventArgs e) //{ // this.Validate(); // this.gROUP_USERBindingSource.EndEdit(); // this.tableAdapterManager.UpdateAll(this.dS_GRAND); //} private void frmRole_Load(object sender, EventArgs e) { dGV_GroupUser.DataSource = usr.LoadNameGroupUser(); //Properties.Settings.Default["DB_SPAConnectionString"] = usr.GetStringConfig(); //Properties.Settings.Default.Save(); //// TODO: This line of code loads data into the 'dS_GRAND.GRANT_RIGHT' table. You can move, or remove it, as needed. //this.gRANT_RIGHTTableAdapter.Fill(this.dS_GRAND.GRANT_RIGHT); //// TODO: This line of code loads data into the 'dS_GRAND.GROUP_USER' table. You can move, or remove it, as needed. //this.gROUP_USERTableAdapter.Fill(this.dS_GRAND.GROUP_USER); }