protected void Button1_Click(object sender, EventArgs e) { ed = (from a in db.GetTable<EmployeeDetail>() where (a.Name == "xyz") select a).SingleOrDefault<EmployeeDetail>(); Label1.Text = ed.EmployeeNo; }
ed = (from a in db.GetTable<EmployeeDetail>() where (a.Name == "xyz") select a).SingleOrDefault<EmployeeDetail>();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)