WebPart.SetTableProvider Method
Sets the table data provider.
Namespace: Microsoft.Office.Server.WebControls.Charting
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Public Sub SetTableProvider ( _
provider As IWebPartTable _
)
'Usage
Dim instance As WebPart
Dim provider As IWebPartTable
instance.SetTableProvider(provider)
public void SetTableProvider(
IWebPartTable provider
)
Parameters
- provider
Type: System.Web.UI.WebControls.WebParts.IWebPartTable
The object that implements the IWebPartTable interface for passing the table data to the Web Part.
Remarks
This method creates the table data binding and registers a callback method to retrieve the table data from the provider.