if (dtFeatureUserAccess.Rows.Count > 0) isFeatureUserAccess = true;
DataTable dtDepartments = userManager.GetDepartmentDetailsByDepartmentIDs(DeptIDs);
string strSelectedDepartments = "";
foreach (DataRow row in dtDepartments.Rows)
{
string strDepartmentName = row["DepartmentName"].ToString();
if (isFeatureUserAccess)
{
strDepartmentName = strDepartmentName.Replace("Henry");
strDepartmentName = strDepartmentName.Replace("Henry");
}
strSelectedDepartments += strDepartmentName + ", ";
}
if (strSelectedDepartments.Length > 0)
strSelectedDepartments = strSelectedDepartm ...
Go to the complete details ...