Quote:
|
Originally Posted by Bob DeVeaux
I just thought I would post to say thank you also.
I found your post very useful!
This was the code I used:
Private Sub odsCustomersList_Selected(ByVal sender As Object, ByVal e As ObjectDataSourceStatusEventArgs)
'notice that this datasource returns a DataView
lblCount1.Text = "Total Record count in the dropdownlist above= " & CType(e.ReturnValue, DataView).Count.ToString()
End Sub
Thank you muchly!
|
Thanks, this worked well for me. I used:
Protected Sub ObjectDataSourceEzine_Selected(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEv entArgs) Handles ObjectDataSourceEzine.Selected
LabelGroupSize.Text = CType(e.ReturnValue, List(Of eZineRec)).Count.ToString()
End Sub
=====
As you can see, the data source for my Gridview control was a user defined generic list.