DataContext db = new DataContext(); var q1 = db.LP_List_Active_Entities(1,1,0); DropDownName.DataSource = q1; DropDownName.DataBind(); var q2 = db.LP_Automated_Entity_Detection(User.Identity.Name, Convert.ToBoolean(true)); DropDownName.SelectedValue = q2.First().entityid.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)