Posted By

blackf0rk on 03/12/09


Tagged

data object count record source ObjectDataSource


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

startupbrite


Get record count from ObjectDataSource


 / Published in: VB.NET
 

URL: http://codefinds.blogspot.com/2008/12/get-record-count-from-objectdatasource.html

  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.