Hey can anyone help me for:
my code is : //SearchByID
public ActionResult SearchByID(string txtID)
{
var IDList = from n in db.tblDonors select n;
if (!String.IsNullOrEmpty(txtID))
IDList = IDList.Where(c =>Convert.ToString( c.D_ID).Contains(txtID));
}
return View(IDList);
I'm getting the following error: