У меня есть DataGridView с примечаниями столбца (пройдено, не выполнено). Например, я хочу показать все записи Failed в столбце Remarks с помощью DataView, как мне это сделать? Спасибо. Вот код, над которым я работаю:
ds.Tables["Grades"].PrimaryKey = new DataColumn[] { ds.Tables["Grades"].Columns["StudentID"] };
DataRow dRow = ds.Tables["Students"].Rows.Find(txtSearch.Text);
DataView dataView = new DataView(dt);
dataView.RowFilter = "Remarks = " + txtSearch.Text;
dgvReport.DataSource = dataView;