Query Datatable C#

 DataRow[] result = dataTableName.Select("SubjectId = " + subject["Id"].ToString() + " AND EnrolleeId = " + student["EnrolleeId"].ToString());
 foreach(DataRow row in result) {
   //Console.WriteLine("{0}, {1}", row[0], row[1]);
   //MsgBox.Information(row["StudentName"].ToString());
 }