private void stSeqbund_Load(object sender, EventArgs e) { m_dst.GetSeqData(); m_dst.GetSeqbund(); m_dst.Gettline(); m_dst.GetSeqst(); DataRowView drv = (DataRowView)comboBox2.SelectedItem; string gId = drv.Row["lid"].ToString(); tslBindingSource1.Filter = string.Format("lid='{0}'", gId); dataGridView1_CurrentCellChanged(null, null); }