
I want to search the DataTable where column paymentMode == checkedListBox.checked item text.
DataTable table = dataTableRegister.Clone();
DataRow row;
foreach (string s in checkedListBox.CheckedItems)
{
foreach (DataRow dr in datatableRegister.Select("PayMode = s"))
{
table.Rows.Add(dr);
}
}
DataGridView1.DataSource = table;
Ronika JencyPosted Jun 10, 2019, 7:17 AM
Ronika JencyPosted Jun 11, 2019, 12:27 AM
Ajeet SinghPosted Jun 10, 2019, 8:17 AM
Jignesh KumarPosted Jun 10, 2019, 7:59 AM