Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Obtiene o establece el ID del origen del informe.
Espacio de nombres CrystalDecisions.Web Ensamblado CrystalDecisions.Web (CrystalDecisions.Web.dll)
Sintaxis
Public Overrideable Property DataSourceID As String
public virtual string DataSourceID {get; set;}
Ejemplo
En este ejemplo se muestra cómo inicializar una referencia de origen de datos.
Private Function InitialDataSourceRef(ByVal myDataSource As String, ByVal myReportName As String, _
ByVal myTableName As String) As DataSourceRef
Dim myDataSourceRef As DataSourceRef = New DataSourceRef
myDataSourceRef.DataSourceID = myDataSource
myDataSourceRef.ReportName = myReportName
myDataSourceRef.TableName = myTableName
InitialDataSourceRef = myDataSourceRef
End Function
private DataSourceRef InitializeDataSourceRef(String dataSourceID, String reportName, String tableName)
{
DataSourceRef dataSourceRef = new DataSourceRef();
dataSourceRef.DataSourceID = dataSourceID;
dataSourceRef.ReportName = reportName;
dataSourceRef.TableName = tableName;
return dataSourceRef;
}
Información de versión
Crystal Reports Basic for Visual Studio 2008
Admitido desde: Crystal Reports for Visual Studio 2005
Vea también
Referencia
DataSourceRef Clase
DataSourceRef Miembros
CrystalDecisions.Web Espacio de nombres