Web Form Textbox issue

R

R. Drapeau

To all,

I am a experienced programmer, but new to Visual Studio 2003 and the .NET
technology. However, I am working with an existing website that was
developed for me and I am trying to make some minor changes, like in this
case I am trying to add a new field.....

The website is developed in ASP.NET and contains a webform whereby I can
display and update various fields from an Access database table. One of the
existing fields on the form is a textbox called "txtpassword".

I added a new password field to the database table and called the field
"AlternatePassword". I then added a textbox to the .aspx webform called
"txtAlternatePassword". Then I did a search on the word "password"
throughout the entire project and whereever I saw the original password text
box listed "txtpassword" I copied the code and duplicated it for my new
field. I even updated the various "Select" statements accordingly wherever
the existing "txtpassword" was listed to also include my new field..

Using Visual Studio 2003, I run the application using the debugger. The
webform screen will neither display or add the alternate password field
from/to the database table. When I look at the contents of the
Me.txtAlternatePassword.Text field while in the debugger it indicates
"Public Overridable Property Text() as String", but does not display any
values as with the other fields being read from the database table.

Does the new text box on the web form need to be bound to the new field in
the database table somehow? I looked to see if the original "txtPassword"
text box had such bindings while in Visual Studio 2003 but didn't see
anything. Any ideas?

Thank you in advance for your assistance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,244
Members
46,838
Latest member
KandiceChi

Latest Threads

Top