DataSourceView InternalGetData()
{
if (this.DataSource != null && this.IsBoundUsingDataSourceID)
{
throw new HttpException("Control bound using both DataSourceID and DataSource properties.");
}
IDataSource ds = this.GetDataSource();
if (ds != null)
{
return ds.GetView(DataMember);
}
return null;
}