¡@

Home 

c# Programming Glossary: datagridview1.datasource.gettype

Filtering DataGridView without changing datasource

http://stackoverflow.com/questions/5843537/filtering-datagridview-without-changing-datasource

sender EventArgs e MessageBox.Show DataSource type BEFORE dataGridView1.DataSource.GetType .ToString dt.DefaultView.RowFilter string.Format country LIKE.. ' 0 ' textBox1.Text MessageBox.Show DataSource type AFTER dataGridView1.DataSource.GetType .ToString 2. datagridview.DataSource bindingSource it works.. sender EventArgs e MessageBox.Show DataSource type BEFORE dataGridView1.DataSource.GetType .ToString bs.Filter string.Format country LIKE ' 0 ' textBox1.Text..