473,657 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text from db in a textbox with password TextMode

MA
Hi all!

I have a problem here. I have a web page for user administration. On this
page I have a textbox for password. This textbox are in TextMode password.

But when I get data, via a data reader, to my password textbox, it´s empty.

How can I get around this?

/Marre
Nov 17 '05 #1
4 2318
MA,
I have a problem here. I have a web page for user administration. On this
page I have a textbox for password. This textbox are in TextMode password.

But when I get data, via a data reader, to my password textbox, it´s
empty.

How can I get around this?


Why do you want to fill an optical unreadable textbox with text?

Cor
Nov 17 '05 #2
MA

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:O4******** ******@TK2MSFTN GP09.phx.gbl...
MA,
I have a problem here. I have a web page for user administration. On this
page I have a textbox for password. This textbox are in TextMode
password.

But when I get data, via a data reader, to my password textbox, it´s
empty.

How can I get around this?


Why do you want to fill an optical unreadable textbox with text?

Cor

Well....If the user click the save button without filling out the password
textbox again, there will be an error or no password (depending on what I
want to do in that situation)

/Marre
Nov 17 '05 #3
Ma,

Why don't you than not just save it in a session.item.

Cor
Nov 17 '05 #4
MA
That´s a really good idea!
I´ll think I run for that :) Thanx.

Do you know why there is no value in my password box? Just curious :)

/Marre
Nov 17 '05 #5

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

Similar topics

2
656
by: tom | last post by:
Hello, I have an asp.net web application where I want people to register themselves. This takes them through a few pages with prev/next functionality. In one of the pages they provide a password. I use a textbox with textmode password for this. But when I want to set the text of the textbox serverside
4
1751
by: Ian Walsh | last post by:
I have a user details form with a textbox for a password on it (textmode=password). I want to be able to set the text in the textbox when retrieving user details. I will be filling the box with a dummy value such as '*****'. When I set the .text property and the form is run it returns as an empty value. Is there any way around this. Thanks.
1
1572
by: Jason | last post by:
I have a form with a textbox and the textmode is set to 'password'. I also have some dropdownlist that poplulate other fields on the form when changed. But everytime the form postsback to the server the password textboxes loose their value that has been typed in. I can put the password textbox as the last item, but not really what I wanted. Any ideas on getting the password to persist through the postback? Thanks in advance,
1
1592
by: feng | last post by:
I would like to use asp web form's TextBox control for my password field but I don't know how to do this. I know I can use HTML textbox and then set the type="password". In asp TextBox, however, there is no type attribute. Can someone help me on this? Thanks
4
3814
by: Grey | last post by:
how can I persist the data input in the textbox which the Textmode = Password after postback?? I found that when I set the Textmode in textbox to PASSWORD, i cannot persist the data within the textbox after postback...is there any way to fulfil my req??
4
2045
by: David Kyle | last post by:
Hello there, I'm having some problems setting the TextBox.Text Property in my code and having it returned to the client in the source when the TextBox.TextMode="Password". I know this is generally not a good idea to fill it with the actual password but I would like to put '*'s in it as place holders just so it looks like the password is actually typed out in there. Thanks,
2
1192
by: Tom | last post by:
I have a textbox control for password and am attempting to hide the input, however I don't see a property for this. I do seee there is an HTML password control... do I need to use this instead?
6
3178
by: Dan | last post by:
When I try to read the text in a password text box, I get an empty string........ code behind... MyPassword = PasswordTextBox.Text always returns an empty string..... What am I missing? Thanks.
6
2401
by: SenthilVel | last post by:
hi all, i am running a ASP.Net 2.0 application. in one of the pages i have a text box which is set as PASSWORD mode. when the page is submitted or transfered , am not able to get the contents of this textbox which is in Password mode. do we need to any more apart from setting to password mode to get the value present in the text box..? do we need to do anything in specific with the viewstates if there is
0
8326
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8845
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8743
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5647
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.