Question: how to get particular row value from datatable in c#?
Answer: var rows = dt.AsEnumerable().Skip(0).Take(15);
string value = "CB123";
DataRow[] result = dt.Select("BOOKCODE like '%" + value + "%'");
//foreach (var col in rows)
//{
if (result.Count() > 0)
{
MessageBox.Show("BookCode Not Found");