Hi, I am trying to get value from specific row range.
This is the code i tried but not sure where should i use the variable rows.
- var rows = dt.AsEnumerable().Skip(0).Take(15);
- string value = "CB123";
- DataRow[] result = dt.Select("BOOKCODE like '%" + value + "%'");
-
-
- if (result.Count() > 0)
- {
- MessageBox.Show("BookCode Not Found");
-
- }
-