Posted on: 10/6/2014 8:07:04 AM | Views : 437

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 ...