Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: page count?


Message #1 by "Paul Riley" <rilez@t...> on Tue, 29 Oct 2002 13:39:35 -0000
If you stored your data in a DataSet, getting the count is just like
getting the count of any other collection:

int rowCount = myDataSet.Tables["MyTable"].Rows.Count;





"Paul Riley" <rilez@t...> on 10/29/2002 07:39:35 AM

Please respond to "ASPX_Professional" <aspx_professional@p...>

To:   "ASPX_Professional" <aspx_professional@p...>
cc:

Subject:  [aspx_professional] page count?

I have recently started developing in aspx after a lot of experience in
asp. I used the use the pagecount of a recordset to return the total
number of records returned. I cannot see how to do this in aspx without
selecting a count and then selecting the actual records which is of
course inefficient. Anyone point me in the correct direction :O)?


---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.

---








  Return to Index