J
John
How can I find how many rows are returned from the DataView generated by
FilterExpression on an ObjectDataSource?
I can get the number of rows in the underlying datatable by using:
protected void mydataSource_Selected(object sender,
ObjectDataSourceStatusEventArgs e)
{
numrows = ((DataTable) e.ReturnValue).Rows.Count;
}
But I can't get access to the dataview used by FilterExpression. It's not
((DataTable) e.ReturnValue).DefaultView
Thanks,
John
FilterExpression on an ObjectDataSource?
I can get the number of rows in the underlying datatable by using:
protected void mydataSource_Selected(object sender,
ObjectDataSourceStatusEventArgs e)
{
numrows = ((DataTable) e.ReturnValue).Rows.Count;
}
But I can't get access to the dataview used by FilterExpression. It's not
((DataTable) e.ReturnValue).DefaultView
Thanks,
John