示例#1
0
        /// <summary>
        /// 显示报表
        /// </summary>
        /// <param name="url">报表服务器名</param>
        /// <param name="path">报表路径</param>
        /// <param name="parms">报表参数</param>
        /// <param name="showParameterPrompts">是否显示报表参数</param>
        /// <param name="captionText">显示在窗口的标题</param>
        /// <param name="parentForm">父窗口,报表可以显示在主窗口之内</param>
        public static void Show(string url, string path, ReportParameter[] parms, bool showParameterPrompts, string captionText, Form parentForm)
        {
            FrmShow f = new FrmShow(url, path, parms, Credential, showParameterPrompts, captionText, parentForm);

            f.Show();
        }
示例#2
0
        /// <summary>
        /// 显示报表
        /// </summary>
        /// <param name="url">报表服务器名</param>
        /// <param name="path">报表路径</param>
        /// <param name="parms">报表参数</param>
        /// <param name="showParameterPrompts">是否显示报表参数</param>
        public static void Show(string url, string path, ReportParameter[] parms, bool showParameterPrompts)
        {
            FrmShow f = new FrmShow(url, path, parms, Credential, showParameterPrompts, string.Empty, null);

            f.Show();
        }