0

Is there a way to run a query using a textbox value & get two columns in return using Entity Framework and insert the values to another table?

tried with single column with no luck.

string warehouse = new DBEntities()
    .emps
    .Where(u => u.emp_id == txt_employee_pack.Text)
    .Select(u => u.sic)
    .SingleOrDefault();
Dale K
  • 25,246
  • 15
  • 42
  • 71

0 Answers0