- private void textBox_Search_TextChanged(object sender, EventArgs e)
- {
- DataTable dbdataset = new DataTable();
- try
- {
- DataView DV = new DataView(dbdataset);
- DV.RowFilter = string.Format("nama LIKE '%{0}%'",textBox_Search.Text);
- metroGrid_SearchCS.DataSource = DV;
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.Message);
- }
- }
This is my project, i didn't search customer name with textbox. And i got Cannot find column [name]
Anyone can help me.
Thank you
Rajanikant HawaldarPosted Oct 24, 2020, 12:02 AM
Sachin SinghPosted Oct 23, 2020, 11:39 PM
Rajanikant HawaldarPosted Oct 23, 2020, 9:38 PM
Amit GuptaPosted Oct 23, 2020, 9:28 PM
Mageshwaran RPosted Oct 23, 2020, 8:38 PM