次の方法で共有


ReportViewer.RefreshReport メソッド

Causes the current report in the Report Viewer to be processed and rendered.

名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (microsoft.reportviewer.winforms.dll 内)

構文

'宣言
'使用

解説

Calling the RefreshReport method causes all data in the report to be reloaded and rendered. A call to RefreshReport is automatically added to the Form Load event handler when a ReportViewer control is added to a form.

Private Sub Form1_Load(ByVal sender As System.Object, _
            ByVal e As System.EventArgs) Handles MyBase.Load
   Me.ReportViewer1.RefreshReport()
End Sub
private void Form1_Load(object sender, EventArgs e)
{
   this.reportViewer.RefreshReport();
}

参照

リファレンス

ReportViewer クラス
ReportViewer メンバ
Microsoft.Reporting.WinForms 名前空間