473,387 Members | 1,520 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,387 software developers and data experts.

EditCommandColumn w can set it to Visible=true for some users?

I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB
Thanks
Stan

Nov 22 '05 #1
29 1188
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for some users? Please answer in VB
Thanks
Stan

Nov 22 '05 #2
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?
"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true

for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #3
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for some users? Please answer in VB
Thanks
Stan

Nov 22 '05 #4
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?
"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true

for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #5
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not allowed to make any changes to a record. How can set it to
Visible=true for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #6
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not allowed to make any changes to a record. How can set it to
Visible=true for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #7

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to

Visible=True?


"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>


Nov 22 '05 #8

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to

Visible=True?


"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>


Nov 22 '05 #9
Um...HOW do you determine a user? How do "retrieve" the code in the user
record? How do you modify the where clause to retrieve the correct "user
record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to

Visible=True?


"Jeff Dillon" wrote:

> Do you have the users log on? How are you authenticating users?
>
> What is your backend database, and what does your connection string look > like?
>
> Jeff
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:A7**********************************@microsof t.com...
> > I Set the EditCommandColumn to Visible=False to stop people who
are not
> > allowed to make any changes to a record. How can set it to

Visible=true
> for
> > some users? Please answer in VB
> > Thanks
> > Stan
> >
>
>
>


Nov 22 '05 #10
Um...HOW do you determine a user? How do "retrieve" the code in the user
record? How do you modify the where clause to retrieve the correct "user
record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to

Visible=True?


"Jeff Dillon" wrote:

> Do you have the users log on? How are you authenticating users?
>
> What is your backend database, and what does your connection string look > like?
>
> Jeff
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:A7**********************************@microsof t.com...
> > I Set the EditCommandColumn to Visible=False to stop people who
are not
> > allowed to make any changes to a record. How can set it to

Visible=true
> for
> > some users? Please answer in VB
> > Thanks
> > Stan
> >
>
>
>


Nov 22 '05 #11
Forget about the user Can i set the column to true?

all i want to know is how do you Set the EditCommandColumn to
Visible=True?

"Jeff Dillon" wrote:
Um...HOW do you determine a user? How do "retrieve" the code in the user
record? How do you modify the where clause to retrieve the correct "user
record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
> Yes I authenticating users , I use a <add key="ConnectionString"
> value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>
>
> all i want to know is how do you Set the EditCommandColumn to
Visible=True?
>
>
> "Jeff Dillon" wrote:
>
> > Do you have the users log on? How are you authenticating users?
> >
> > What is your backend database, and what does your connection string look > > like?
> >
> > Jeff
> > "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > > message news:A7**********************************@microsof t.com...
> > > I Set the EditCommandColumn to Visible=False to stop people who are not
> > > allowed to make any changes to a record. How can set it to
Visible=true
> > for
> > > some users? Please answer in VB
> > > Thanks
> > > Stan
> > >
> >
> >
> >


Nov 22 '05 #12
Forget about the user Can i set the column to true?

all i want to know is how do you Set the EditCommandColumn to
Visible=True?

"Jeff Dillon" wrote:
Um...HOW do you determine a user? How do "retrieve" the code in the user
record? How do you modify the where clause to retrieve the correct "user
record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:
Yes, but how do you tell one user from another?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:56**********************************@microsof t.com...
> Yes I authenticating users , I use a <add key="ConnectionString"
> value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>
>
> all i want to know is how do you Set the EditCommandColumn to
Visible=True?
>
>
> "Jeff Dillon" wrote:
>
> > Do you have the users log on? How are you authenticating users?
> >
> > What is your backend database, and what does your connection string look > > like?
> >
> > Jeff
> > "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > > message news:A7**********************************@microsof t.com...
> > > I Set the EditCommandColumn to Visible=False to stop people who are not
> > > allowed to make any changes to a record. How can set it to
Visible=true
> > for
> > > some users? Please answer in VB
> > > Thanks
> > > Stan
> > >
> >
> >
> >


Nov 22 '05 #13
Based on what "If" condition? I know the answer...if you answer my
question.

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:F2**********************************@microsof t.com...
Forget about the user Can i set the column to true?

all i want to know is how do you Set the EditCommandColumn to
Visible=True?

"Jeff Dillon" wrote:
Um...HOW do you determine a user? How do "retrieve" the code in the user record? How do you modify the where clause to retrieve the correct "user record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:

> Yes, but how do you tell one user from another?
>
> Jeff
>
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:56**********************************@microsof t.com...
> > Yes I authenticating users , I use a <add key="ConnectionString"
> > value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>
> >
> > all i want to know is how do you Set the EditCommandColumn to
> Visible=True?
> >
> >
> > "Jeff Dillon" wrote:
> >
> > > Do you have the users log on? How are you authenticating users?
> > >
> > > What is your backend database, and what does your connection string
look
> > > like?
> > >
> > > Jeff
> > > "Stanley J Mroczek" <St*************@discussions.microsoft.com>

wrote in
> > > message
news:A7**********************************@microsof t.com... > > > > I Set the EditCommandColumn to Visible=False to stop people

who are
> not
> > > > allowed to make any changes to a record. How can set it to
> Visible=true
> > > for
> > > > some users? Please answer in VB
> > > > Thanks
> > > > Stan
> > > >
> > >
> > >
> > >
>
>
>


Nov 22 '05 #14
Based on what "If" condition? I know the answer...if you answer my
question.

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:F2**********************************@microsof t.com...
Forget about the user Can i set the column to true?

all i want to know is how do you Set the EditCommandColumn to
Visible=True?

"Jeff Dillon" wrote:
Um...HOW do you determine a user? How do "retrieve" the code in the user record? How do you modify the where clause to retrieve the correct "user record". How are you authenticating and validating users? Do you have a
login screen?

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:C2**********************************@microsof t.com...

By the code in the user record

"Jeff Dillon" wrote:

> Yes, but how do you tell one user from another?
>
> Jeff
>
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:56**********************************@microsof t.com...
> > Yes I authenticating users , I use a <add key="ConnectionString"
> > value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>
> >
> > all i want to know is how do you Set the EditCommandColumn to
> Visible=True?
> >
> >
> > "Jeff Dillon" wrote:
> >
> > > Do you have the users log on? How are you authenticating users?
> > >
> > > What is your backend database, and what does your connection string
look
> > > like?
> > >
> > > Jeff
> > > "Stanley J Mroczek" <St*************@discussions.microsoft.com>

wrote in
> > > message
news:A7**********************************@microsof t.com... > > > > I Set the EditCommandColumn to Visible=False to stop people

who are
> not
> > > > allowed to make any changes to a record. How can set it to
> Visible=true
> > > for
> > > > some users? Please answer in VB
> > > > Thanks
> > > > Stan
> > > >
> > >
> > >
> > >
>
>
>


Nov 22 '05 #15

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?
"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true

for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #16

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?
"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look
like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:A7**********************************@microsof t.com...
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true

for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #17
Excuse me? Do you want help or not.

By the way, I found your answer..

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>

Nov 22 '05 #18
Excuse me? Do you want help or not.

By the way, I found your answer..

Jeff

"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>

Nov 22 '05 #19
The reason I asked is because if this was SQL Server, and you had users
login appropriately, then you could limit your result set by using
suser_sname() in your WHERE clause, and not return this column at all for
particular users.

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>

Nov 22 '05 #20
The reason I asked is because if this was SQL Server, and you had users
login appropriately, then you could limit your result set by using
suser_sname() in your WHERE clause, and not return this column at all for
particular users.

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:
Do you have the users log on? How are you authenticating users?

What is your backend database, and what does your connection string look like?

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in message news:A7**********************************@microsof t.com...
> I Set the EditCommandColumn to Visible=False to stop people who are not > allowed to make any changes to a record. How can set it to Visible=true for
> some users? Please answer in VB
> Thanks
> Stan
>

Nov 22 '05 #21
Thank you but i have a code based on A company code. I don't want to use sql
to control the switch to turn the true or false. I would like to control it
in the program.
stan
"je**@removeemergencyreporting.com" wrote:
The reason I asked is because if this was SQL Server, and you had users
login appropriately, then you could limit your result set by using
suser_sname() in your WHERE clause, and not return this column at all for
particular users.

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:

> Do you have the users log on? How are you authenticating users?
>
> What is your backend database, and what does your connection string look > like?
>
> Jeff
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:A7**********************************@microsof t.com...
> > I Set the EditCommandColumn to Visible=False to stop people who are not > > allowed to make any changes to a record. How can set it to Visible=true > for
> > some users? Please answer in VB
> > Thanks
> > Stan
> >
>
>
>


Nov 22 '05 #22
Thank you but i have a code based on A company code. I don't want to use sql
to control the switch to turn the true or false. I would like to control it
in the program.
stan
"je**@removeemergencyreporting.com" wrote:
The reason I asked is because if this was SQL Server, and you had users
login appropriately, then you could limit your result set by using
suser_sname() in your WHERE clause, and not return this column at all for
particular users.

Jeff
"Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in
message news:9D**********************************@microsof t.com...

What are 6 year old?
I am trying to a get a answer and your playing games. I am working to hard
to play foget it!!

"Stanley J Mroczek" wrote:
Yes I authenticating users , I use a <add key="ConnectionString"
value="server=xxxx;uid=xxk;pwd=xx;database=xx;"/>

all i want to know is how do you Set the EditCommandColumn to Visible=True?

"Jeff Dillon" wrote:

> Do you have the users log on? How are you authenticating users?
>
> What is your backend database, and what does your connection string look > like?
>
> Jeff
> "Stanley J Mroczek" <St*************@discussions.microsoft.com> wrote in > message news:A7**********************************@microsof t.com...
> > I Set the EditCommandColumn to Visible=False to stop people who are not > > allowed to make any changes to a record. How can set it to Visible=true > for
> > some users? Please answer in VB
> > Thanks
> > Stan
> >
>
>
>


Nov 22 '05 #23
Stanley,

In addition to Jeff

You know how to set it to false, to set it to true is the same however
"true" instead of "false"

Cor

"Stanley J Mroczek" <St*************@discussions.microsoft.com>
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true
for
some users? Please answer in VB
Thanks
Stan

Nov 22 '05 #24
What is wrong with you people if i knew how to set it to false, i would not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?
"Cor Ligthert" wrote:
Stanley,

In addition to Jeff

You know how to set it to false, to set it to true is the same however
"true" instead of "false"

Cor

"Stanley J Mroczek" <St*************@discussions.microsoft.com>
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true
for
some users? Please answer in VB
Thanks
Stan


Nov 22 '05 #25
Stanley,

Exactly as Jeff, told, by directly suplying what you want. Now you come with
a complete other question.

Blaming people is not the right way to get help, especially not when it is
obviously your own fault that you did not get the right answer..

This was your first question.
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB
And now it becomes this
What is wrong with you people if i knew how to set it to false, i would
not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?


I hope you find your solution soon.

Cor
Nov 22 '05 #26


"Cor Ligthert" wrote:
Stanley,

Exactly as Jeff, told, by directly suplying what you want. Now you come with
a complete other question.

Blaming people is not the right way to get help, especially not when it is
obviously your own fault that you did not get the right answer..

This was your first question.
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB


And now it becomes this
What is wrong with you people if i knew how to set it to false, i would
not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?


I hope you find your solution soon.

Cor

Nov 22 '05 #27
Hey,
Try this in your "ItemDataBound" event.
e.Item.Cells(n).visible = "True" where "n" is the position of the cell.

Thanks

"Cor Ligthert" wrote:
Stanley,

Exactly as Jeff, told, by directly suplying what you want. Now you come with
a complete other question.

Blaming people is not the right way to get help, especially not when it is
obviously your own fault that you did not get the right answer..

This was your first question.
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB


And now it becomes this
What is wrong with you people if i knew how to set it to false, i would
not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?


I hope you find your solution soon.

Cor

Nov 22 '05 #28
no that did not work , But thanks for some kind answer. My prolbem is that It
is a E ditCommandColumn and i know know how to change it theres my code

<asp:datagrid id="CodeDetail" runat="server" OnItemCommand="ItemCommand"
OnEditCommand="EditCommandheader"
OnUpdateCommand="UpdateCommandheader"
OnCancelCommand="CancelCommandHeader" OnItemCreated="ItemCreatedcode">
<Columns>
<asp:BoundColumn DataField="GroupName" HeaderText="Code file" />
<asp:BoundColumn Visible="False" DataField="Program"
HeaderText="Program" />
<asp:BoundColumn Visible="False" DataField="Squence"
HeaderText="Sequence" />
<asp:BoundColumn DataField="Tip" HeaderText="Description" />
<asp:EditCommandColumn Visible=False EditText="<img
src=images/edit.gif border=o align=absmiddle alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
<asp:TemplateColumn runat="server">
<itemtemplate>
<asp:HyperLink Runat="server" ImageUrl="images/edit.gif"
NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Program") %>'
Id="Goprogram" />
<asp:Label Runat="server" Visible=False Text='<%#
DataBinder.Eval(Container.DataItem, "Tip") %>' Id="Tip" />
</itemtemplate>
<EditItemTemplate>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>

"RNair" wrote:
Hey,
Try this in your "ItemDataBound" event.
e.Item.Cells(n).visible = "True" where "n" is the position of the cell.

Thanks

"Cor Ligthert" wrote:
Stanley,

Exactly as Jeff, told, by directly suplying what you want. Now you come with
a complete other question.

Blaming people is not the right way to get help, especially not when it is
obviously your own fault that you did not get the right answer..

This was your first question.
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB


And now it becomes this
What is wrong with you people if i knew how to set it to false, i would
not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?


I hope you find your solution soon.

Cor

Nov 22 '05 #29
Don’t talk down to me. I am not an expert programmer and. I am working a 16
hour day trying to get the job done before I get let go. I post a question
and wait for an answer, working on something else until I get the answer. I
don’t see how I got in the program makes any difference my problem is still
that same. Some can display the data and other can change it. I am sorry
that I did not word the question to your likening. But the idea that I have
the answer but I will not give it you unless you answer my question does not
make any sense to me. I am seating waiting for an answer and to get that
response is not what am waiting for. This is not how you share information,
or exchange ideas with others, including experts from around the globe.

"Cor Ligthert" wrote:
Stanley,

Exactly as Jeff, told, by directly suplying what you want. Now you come with
a complete other question.

Blaming people is not the right way to get help, especially not when it is
obviously your own fault that you did not get the right answer..

This was your first question.
I Set the EditCommandColumn to Visible=False to stop people who are not
allowed to make any changes to a record. How can set it to Visible=true for
some users? Please answer in VB


And now it becomes this
What is wrong with you people if i knew how to set it to false, i would
not
ask the question!!!!! How I set to False is <asp:EditCommandColumn
Visible=False EditText="<img src=images/edit.gif border=o align=absmiddle
alt='edit this item'>"
UpdateText="<img src=images/ok.gif border=o align=absmiddle alt='save
changes'>" CancelText="<img src=images/cancel.gif border=o align=absmiddle
alt='cancel editing'>" />
HOW DO I SET IT IN A USER CONTROL?


I hope you find your solution soon.

Cor

Nov 22 '05 #30

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

Similar topics

18
by: Stanley J Mroczek | last post by:
I Set the EditCommandColumn to Visible=False to stop people who are not allowed to make any changes to a record. How can set it to Visible=true for some users? Please answer in VB Thanks Stan
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.