This question is locked. New answers and comments are not allowed.
I have this code :
But an error raise for where clause. How can i fix it?
var query = hedSearch.OperationalSubBranches;
query = query.Where(x=> x.RefIdOperationBranch == Convert.ToInt32(radcmbOperationalBranch.SelectedValue));
radcmbOperationalSubBranch.DataSource = query.ToList();
radcmbOperationalSubBranch.DataTextField =
"Name";
radcmbOperationalSubBranch.DataValueField =
"Id";
radcmbOperationalSubBranch.DataBind();
But an error raise for where clause. How can i fix it?