Written by
in
project = ddProject.SelectedValue; status = ddStatus.SelectedValue; search = txtSearch.Text.Trim(); outList = ue.V_REGISTRATION_UPLOAD .Where(w => (w.STUD_FNAME.Contains(search) || w.STUD_LNAME.Contains(search) || w.CITIZEN_ID.Contains(search)) || string.IsNullOrEmpty(search)) .Where(x => x.PROJECT_ID == project || string.IsNullOrEmpty(project)) .Where(y => y.APPROVED_STATUS == status || string.IsNullOrEmpty(status)) .ToList(); gvUploadedList.DataSource = outList; gvUploadedList.DataBind();
project = ddProject.SelectedValue;
status = ddStatus.SelectedValue;
search = txtSearch.Text.Trim();
outList = ue.V_REGISTRATION_UPLOAD
.Where(w => (w.STUD_FNAME.Contains(search) || w.STUD_LNAME.Contains(search) || w.CITIZEN_ID.Contains(search)) || string.IsNullOrEmpty(search))
.Where(x => x.PROJECT_ID == project || string.IsNullOrEmpty(project))
.Where(y => y.APPROVED_STATUS == status || string.IsNullOrEmpty(status)) .ToList();
gvUploadedList.DataSource = outList;
gvUploadedList.DataBind();
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ
Leave a Reply