i need a feature in DataGridView as other third party grids have like Flex Grid of Component One has.
So, if anyone knows its solution or any idea please reply
Thanks & Regards
Jhan Zaib
Windows Forms Data Controls and Databinding
DataTable dt = new DataTable(); BindingSource bs = new BindingSource(); private void Form1_Load(object sender, EventArgs e) { dt.Columns.Add("ID"); dt.Columns.Add("Name"); dt.Rows.Add(0, "ddd"); dt.Rows.Add(0, "aaa"); dt.Rows.Add(0, "adsd"); dt.Rows.Add(0, "dfdg"); dt.Rows.Add(0, "vdesd"); bs.DataSource = dt.DefaultView; this.dataGridView1.DataSource = bs; this.dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; } private void button1_Click(object sender, EventArgs e) { this.bs.Position = bs.Find("Name", this.textBox1.Text); }