473,322 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Please don't laugh

Want to configure properties of a datagrid in C# during runtime. I want to
run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my class
etc....

Do I need to reference some dll or what???
Nov 18 '05 #1
6 1031
Is it C# or VB.NET if it's C# it's called false not False.

"gale" <sr******@datagate.net> skrev i meddelandet
news:b9*****************************@40tude.net...
Want to configure properties of a datagrid in C# during runtime. I want to
run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my class
etc....

Do I need to reference some dll or what???

Nov 18 '05 #2
gale <sr******@datagate.net> typed:
Want to configure properties of a datagrid in C# during runtime. I
want to run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my
class etc....

Do I need to reference some dll or what???


Remember that C# is case sensitive. So you should write:

DataGrid1.AutoGenerateColumns = false;
--
Davide Vernole
MVP ASP/ASP.NET
Microsoft Certified Solution Developer
Nov 18 '05 #3
ignore my question, figured it out...
Nov 18 '05 #4
C# is case sensitive. The keyword is false (rather than False with a capital
letter).

Patrice

--

"gale" <sr******@datagate.net> a écrit dans le message de
news:b9*****************************@40tude.net...
Want to configure properties of a datagrid in C# during runtime. I want to
run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my class
etc....

Do I need to reference some dll or what???

Nov 18 '05 #5
Rob
On Thu, 14 Oct 2004 14:27:53 +0200, gale <sr******@datagate.net>
wrote:
Want to configure properties of a datagrid in C# during runtime. I want to
run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my class
etc....

Do I need to reference some dll or what???


Have you tried:

DataGrid1.AutoGenerateColumns=false;

(c# is case-sensitive)
Nov 18 '05 #6
And that's why I use VB.Net
:)

David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Patrice" <no****@nowhere.com> wrote in message
news:O3**************@TK2MSFTNGP12.phx.gbl...
C# is case sensitive. The keyword is false (rather than False with a capital letter).

Patrice

--

"gale" <sr******@datagate.net> a écrit dans le message de
news:b9*****************************@40tude.net...
Want to configure properties of a datagrid in C# during runtime. I want to run the following simple command:

DataGrid1.AutoGenerateColumns=False;

But I am presented with error that name "False" does not exist in my class etc....

Do I need to reference some dll or what???


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

39
by: Scotter | last post by:
Okay I think my title line was worded misleadingly. So here goes again. I've got quite 20 identical MDB files running on an IIS5 server. From time to time I need to go into various tables and add...
21
by: salad | last post by:
Thanks for reading this post and wasting your time. I was thinking about writing about the PCDatasheet vs The Pussyfarts war. The pussyfarts, as near as I can tell, have little to offer this...
1
by: newbie123 | last post by:
Hi I'm having trouble with my javascript. I retrieving my data from a XML document: <root> <item>Happy <item filePath="http://www.smile.com">Smile</item> ...
6
by: CD1 | last post by:
#include <string> This code won't compile. There is no variable called "foo2". :)
3
by: nimamc | last post by:
I'm trying to test a class I have written(I'm an absolute beginner!). I'm getting these errors: These are the codes: Punt.java :
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.