CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP.NET - InMotion Framework

 how to hide a grid if no record

Print topic Send  topic

Author Message
volghan

Posts: 17
Posted: 01/15/2010, 9:08 AM

Hi,

i used follow code to hide grid named sq_ads_code
-------------
if (PagesCount == 0) {
sq_ads_codeRepeater.Visible = false;
}
------------
but i got this error
------------
Compiler Error Message: CS0103: The name 'PagesCount' does not exist in the current context

Source Error:

Line 90:
Line 91: //Grid sq_ads_code Event Before Show. Action Custom Code @189-2A29BDB7
Line 92: if (PagesCount == 0) {
Line 93: sq_ads_codeRepeater.Visible = false;
Line 94: }

Source File: c:\inetpub\wwwroot\VAcms30\DefaultEvents.aspx.cs Line: 92
---------------
can anyone help me? (C# .net 3.5 inmotion )
_________________
www.volghan.ir
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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