- 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);
- }
- }
Cannot find column [name]
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 HawaldarRank #110 · 20.2K reputationPosted Oct 23, 2020, 8:02 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Oct 23, 2020, 5:28 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 23, 2020, 7:39 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Oct 23, 2020, 5:38 PM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Oct 23, 2020, 4:38 PM EDT