Thursday, March 29, 2012
Please don't laugh
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?Is it C# or VB.NET if it's C# it's called false not False.
"gale" <srdjan.m@.datagate.net> skrev i meddelandet
news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.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?
gale <srdjan.m@.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
ignore my question, figured it out...
C# is case sensitive. The keyword is false (rather than False with a capital
letter).
Patrice
"gale" <srdjan.m@.datagate.net> a crit dans le message de
news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.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?
On Thu, 14 Oct 2004 14:27:53 +0200, gale <srdjan.m@.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)
And that's why I use VB.Net
:)
David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Patrice" <nobody@.nowhere.com> wrote in message
news:O33WNsesEHA.2948@.TK2MSFTNGP12.phx.gbl...
> C# is case sensitive. The keyword is false (rather than False with a
capital
> letter).
> Patrice
> --
> "gale" <srdjan.m@.datagate.net> a crit dans le message de
> news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.40tude.net...
to
class
>
Please dont laugh
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?Is it C# or VB.NET if it's C# it's called false not False.
"gale" <srdjan.m@.datagate.net> skrev i meddelandet
news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.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?
gale <srdjan.m@.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
ignore my question, figured it out...
C# is case sensitive. The keyword is false (rather than False with a capital
letter).
Patrice
--
"gale" <srdjan.m@.datagate.net> a crit dans le message de
news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.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?
On Thu, 14 Oct 2004 14:27:53 +0200, gale <srdjan.m@.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)
And that's why I use VB.Net
:)
David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"Patrice" <nobody@.nowhere.com> wrote in message
news:O33WNsesEHA.2948@.TK2MSFTNGP12.phx.gbl...
> C# is case sensitive. The keyword is false (rather than False with a
capital
> letter).
> Patrice
> --
> "gale" <srdjan.m@.datagate.net> a crit dans le message de
> news:b9l8ntj1vl03.1svtfcby90pq7$.dlg@.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?
Saturday, March 24, 2012
please help .. with Microsoft webcontrols ..
csc.exe is valid. see below example.
c:\windows\microsoft.net\framework\v1.1.4322\csc.exe
Also run build.bat from the DOS shell not the Run menu so you can see what is happening.
I downloaded the IE Web controls package
For the love of our lord Jesus Christ, why?
and as instructed ran the Build file which does create the build folder with a subfolder called runtime but I do not see any Microsoft.Web.UI.WebControls.dll being created anywhere in this folder. What is going on ?
Are you building through commandline, and when building, did you resolve the first 'error'? (THis might be entirely based on experience, but there is usually one error to resolve when you try to build it the first time
hey what do you have against the iewebcontrols... the tabstrip + multipage works ok. Do you know of any other tabbing control that's free that's better. It would make my life a lot easier.
Free? No.
Better? All of them.
The IE Web Controls are the equivalent of Windows Millennium. It works, but it really isn't that good. If I had been a little more dishonest, I could have given you my version of the same controls I wrote for my previous company... those controls are probably on sale somewhere right now. :(