CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 total number of records in afterexectureselect

Print topic Send  topic

Author Message
bogdantc

Posts: 36
Posted: 04/24/2008, 2:35 AM

ASP .NET 2.0 (C#) - CCS 3.2

I have a grid with a dynamic select and when using the search form the total number of records is not accurate anymore. I am trying to access the code bellow in the AfterExecuteSelect of myGrid but it gives me the error from the quote.

System.Web.UI.WebControls.Literal myPagemyGrid_TotalRecords = new System.Web.UI.WebControls.Literal();  
myPagemyGrid_TotalRecords.Text = myGridData.RecordCount.ToString();

Quote :
CS0103: The name 'myGridData' does not exist in the current context

Any other ideas how to get the number of records correctly?

_________________
Able was I ere I saw Elba
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.