Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 16th, 2012, 05:00 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default The Intellisense question.

In the following line of code on page 500 of your book:
<asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" 
                SortExpression="Id" InsertVisible="False" />
The Visual Studio Intellisense for "InsertVisible" shows as "false" lower case. Does it make any difference here if the word "False/false" is in either upper or lower case? Which is correct, the VisualStudio intellisense lower case "false" or your books version of uppercase "False"? I have from time to time noticed some very minor discrepancies between the code in your book and the code intellisense code hints that VS studio says we should use when writing our code. This makes it kind of confusing as to which rule or rules to follow as far as syntax is concerned, especially when you consider the fact that C# compiler is much more syntax sensitive as opposed to the VB compiler.
Reply With Quote
  #2 (permalink)  
Old March 17th, 2012, 04:05 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

In C# code, there's indeed a big difference between False and false. In Markup Code for controls, it doesn't matter. The parser that turns something like Visible="False" into something like .Visible = false; is case insensitive. So, in your case, it doesn't rerally matter how you write it.

And unfortunately it's not me who is inconsistent, but Visual Studio. Pretty much all code you see in the book has come from (and is tested in) Visual Studio.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling intellisense Edward Colins BOOK: Beginning SharePoint 2010 Development 0 October 23rd, 2010 03:10 PM
Intellisense don't work morteza ASP.NET 4 General Discussion 1 September 6th, 2010 03:52 AM
Skins and IntelliSense member4953 BOOK: Beginning ASP.NET 4 : in C# and VB 1 June 15th, 2010 11:49 AM
IntelliSense? electrum BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 0 March 17th, 2009 11:10 AM
Intellisense for UserControl RNedel ASP.NET 1.0 and 1.1 Basics 6 June 15th, 2004 04:47 AM

All times are GMT -4. The time now is 04:24 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.