Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Crea un'origine dati denominata con un oggetto IDataSource nella proprietà Value.
Spazio dei nomi Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
name As String, _
dataSourceValue As IDataSource _
)
'Utilizzo
Dim name As String
Dim dataSourceValue As IDataSource
Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
string name,
IDataSource dataSourceValue
)
public:
ReportDataSource(
String^ name,
IDataSource^ dataSourceValue
)
new :
name:string *
dataSourceValue:IDataSource -> ReportDataSource
public function ReportDataSource(
name : String,
dataSourceValue : IDataSource
)
Parametri
- name
Tipo: System.String
Nome dell'origine dati, come specificato nella definizione del rapporto per il rapporto corrente.
- dataSourceValue
Tipo: System.Web.UI.IDataSource
Oggetto IDataSource contenente i dati.