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 |
|
|
|