Posted By

blackf0rk on 03/12/09


data object count record source ObjectDataSource

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Get record count from ObjectDataSource

 / Published in: VB.NET


  1. Private Sub ObjectDataSource1_Selected(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs) Handles ObjectDataSource1.Selected
  2. Dim numRows As Integer = (e.ReturnValue).Tables(0).Rows.Count
  3. End Sub

Report this snippet  

You need to login to post a comment.