Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2006, 03:01 AM
Registered User
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Panel.visible

private void Button1_Click(object sender, System.EventArgs e)
{
Panel1.Visible = False;
panel2.Visible = True;
}
Getting an Erroe message :
The name false does not exist in the class namespace projectname.webform1.
In addition if I write this:
Boolean b1 ;
b1 = True;
I get the same Error.
Maybe I need to add Namespace for boolean or somthing....
I hope U can help...


 
Old April 25th, 2006, 05:10 AM
Registered User
 
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vishald
Default

False and false are different in C#
ie it is case sensitive
use false intead of False

VISHAL DUBE





Similar Threads
Thread Thread Starter Forum Replies Last Post
visible/invisible stealthdevil Access VBA 4 December 1st, 2006 05:40 PM
Making a Panel visible in a FormView steve35719 VB How-To 0 June 29th, 2006 07:49 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM
visible vs. not visible on form akibaMaila VB.NET 2002/2003 Basics 2 August 15th, 2005 02:40 PM
Column not visible Chronos879 Access 1 October 2nd, 2003 08:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.