Record Count

franklinegg

New Member
Hi,<BR><BR>After binding data to a datagrid (or another control), how can I display the record count after the resulting table?<BR><BR><BR><asp:DataGrid id="myGrid" runat="server"/><BR><asp:Label id="lblRecordCount" runat="server"/><BR><BR>Thanks!<BR>lblRecordCount.Text &= myGrid.Items.Count.ToStringGreat! Thanks...Incidently,<BR><BR>DS.Tables(0).Rows.Count.ToString()<BR><BR>also works!
 
Back
Top