Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Password Column - fill with dots

Reply
Thread Tools

Password Column - fill with dots

 
 
Dave
Guest
Posts: n/a
 
      12-02-2004
Greetings,

I have a datagrid with UserName information, one column is password. I want
to fill this column with astericks or dots. Can you please help me out?
Thank you kindly,

-Dave


 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      12-02-2004
Could you explain further what you're doing? Is it that you have a field
with text that you want to replace with asterisks?

Or is it an input field that accepts a password. If so, did you set
TextMode="Password" ?
<asp:textbox id="TextBox1" runat="server"
TextMode="Password"></asp:textbox></p>

It always helps to show the code you've got so far.

Ken

"Dave" <> wrote in message
news:...
> Greetings,
>
> I have a datagrid with UserName information, one column is password. I
> want to fill this column with astericks or dots. Can you please help me
> out? Thank you kindly,
>
> -Dave
>


 
Reply With Quote
 
 
 
 
Scott Mitchell [MVP]
Guest
Posts: n/a
 
      12-03-2004
Following up on Ken's comment, if you are wanting an editable column
with a Password TextBox, you'll need to use a TemplateColumn and then
customize the editing interface for that column via the
<EditItemTemplate>. There's a more thorough discussion of this here:
http://aspnet.4guysfromrolla.com/articles/080702-1.aspx

Happy Programming!


Ken Cox [Microsoft MVP] wrote:
> Could you explain further what you're doing? Is it that you have a field
> with text that you want to replace with asterisks?
>
> Or is it an input field that accepts a password. If so, did you set
> TextMode="Password" ?
> <asp:textbox id="TextBox1" runat="server"
> TextMode="Password"></asp:textbox></p>
>
> It always helps to show the code you've got so far.
>
> Ken
>
> "Dave" <> wrote in message
> news:...
>
>> Greetings,
>>
>> I have a datagrid with UserName information, one column is password.
>> I want to fill this column with astericks or dots. Can you please
>> help me out? Thank you kindly,
>>
>> -Dave
>>

>



--

Scott Mitchell

http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
 
Reply With Quote
 
Dave
Guest
Posts: n/a
 
      12-05-2004
Thanks Ken and Scott. I got what I needed.

-Dave

"Scott Mitchell [MVP]" <> wrote in message
news:U31sd.37806$. com...
> Following up on Ken's comment, if you are wanting an editable column with
> a Password TextBox, you'll need to use a TemplateColumn and then customize
> the editing interface for that column via the <EditItemTemplate>. There's
> a more thorough discussion of this here:
> http://aspnet.4guysfromrolla.com/articles/080702-1.aspx
>
> Happy Programming!
>
>
> Ken Cox [Microsoft MVP] wrote:
>> Could you explain further what you're doing? Is it that you have a field
>> with text that you want to replace with asterisks?
>>
>> Or is it an input field that accepts a password. If so, did you set
>> TextMode="Password" ?
>> <asp:textbox id="TextBox1" runat="server"
>> TextMode="Password"></asp:textbox></p>
>>
>> It always helps to show the code you've got so far.
>>
>> Ken
>>
>> "Dave" <> wrote in message
>> news:...
>>
>>> Greetings,
>>>
>>> I have a datagrid with UserName information, one column is password. I
>>> want to fill this column with astericks or dots. Can you please help me
>>> out? Thank you kindly,
>>>
>>> -Dave
>>>

>>

>
>
> --
>
> Scott Mitchell
>
> http://www.4GuysFromRolla.com
>
> * When you think ASP.NET, think 4GuysFromRolla.com!



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
How to make a multi-line textbox to fill gridview's column in edit view? dan ASP .Net 0 05-07-2008 02:41 PM
password connection "dots" dumbmama General Computer Support 0 10-22-2006 06:28 PM
select from drop list to fill table column with text -- HOW ? Richard Galli Perl 0 06-25-2003 08:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57