/ Published in: VB.NET

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Private Sub ObjectDataSource1_Selected(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs) Handles ObjectDataSource1.Selected Dim numRows As Integer = (e.ReturnValue).Tables(0).Rows.Count End Sub
URL: http://codefinds.blogspot.com/2008/12/get-record-count-from-objectdatasource.html
Comments
