private void _personBS_CurrentChanged(object sender, EventArgs e) { DataRowView curPerson = _personBS.Current as DataRowView; if (curPerson == null) { return; } _orgAdapter.SelectCommand.CommandText = Org.GetSelectByPersonText((long)curPerson[PersonShortView.id]); _orgTable.Rows.Clear(); _orgAdapter.Fill(_orgTable); }