private void BuildPatientViews() { UserController uc = new UserController(); int userId = uc.GetUserId(); string datasetSQL = CacheManager.GetDatasetSQL(Session[SessionKey.DatasetId]); UserDa da = new UserDa(); UserPatientViewRpt.DataSource = da.GetPatientView(userId, datasetSQL, 20, true); UserPatientViewRpt.DataBind(); }