J
joel
I populate a datagrid from one of 2 datasets, each has a
different Table Name. During the OnItemDataBound event,
I'd like to determine which of the 2 tables provided the
data. The following snippet provides me with that value if
pasted into the Immediate Window during debug, but if
placed in code causes the
error : 'System.Web.UI.WebControls.DataGrid.pagedDataSource
' is inaccessible due to its protection level
((System.Data.DataView)(((System.Collections.IEnumerable)
(((System.Web.UI.WebControls.DataGrid)
(((BIP.Framework.Web.UI.WebControls.MultiGrid)
(sender)))).pagedDataSource.DataSource)))).table.tableName;
any help?
different Table Name. During the OnItemDataBound event,
I'd like to determine which of the 2 tables provided the
data. The following snippet provides me with that value if
pasted into the Immediate Window during debug, but if
placed in code causes the
error : 'System.Web.UI.WebControls.DataGrid.pagedDataSource
' is inaccessible due to its protection level
((System.Data.DataView)(((System.Collections.IEnumerable)
(((System.Web.UI.WebControls.DataGrid)
(((BIP.Framework.Web.UI.WebControls.MultiGrid)
(sender)))).pagedDataSource.DataSource)))).table.tableName;
any help?