ReportViewer.Find 方法

从指定的页码开始搜索报表区域中的报表,以查找指定的文本字符串。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
Public Sub Find ( _
    searchText As String, _
    startPage As Integer _
)
public void Find(
    string searchText,
    int startPage
)
public:
void Find(
    String^ searchText, 
    int startPage
)
member Find : 
        searchText:string * 
        startPage:int -> unit 
public function Find(
    searchText : String, 
    startPage : int
)

参数

  • searchText
    类型:String
    搜索字符串。
  • startPage
    类型:Int32
    开始搜索的页码。

请参阅

参考

ReportViewer 类

Microsoft.Reporting.WebForms 命名空间