Clears the report view and fills it with the background color of the control.
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll 中)
语法
声明
用法
备注
The Clear method resets the ReportViewer user interface elements to their default states.
示例
private void button1_Click(object sender, EventArgs e)
{
reportViewer.Clear();
}
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
ReportViewer1.Clear()
End Sub
另请参见
参考
ReportViewer 类
ReportViewer 成员
Microsoft.Reporting.WinForms 命名空间