Share via


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 命名空間