protected void RefreshLeave() { FRT.DAL.frtEntities entities = new FRT.DAL.frtEntities(); var leave = from l in entities.Leaves where l.PersonCode == dropdownPerson.SelectedValue select l; Leave.DataSource = leave; Leave.DataBind(); }
protected void RefreshLeave() { FRT.DAL.frtEntities entities = new FRT.DAL.frtEntities(); var leave = from l in entities.Leaves where l.PersonCode == dropdownPerson.SelectedValue select l; Leave.DataSource = leave; Leave.DataBind(); }