public void UpdateViewParameter(string viewId, string parameterName, string parameterValue) { ReportView view = ExecutionView.GetView(viewId); if (view != null) { Parameter parameter = view.Parameters.FirstOrDefault(i => i.Name == parameterName); if (parameter != null) { parameter.Value = parameterValue; } } }