Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / September 2005

Tip: Looking for answers? Try searching our database.

web form textbox issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rejean Drapeau - 25 Sep 2005 23:14 GMT
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.
Kevin Spencer - 26 Sep 2005 12:33 GMT
You want to post this to the microsoft.public.dotnet.framework.aspnet
newsgroup.

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
I'd rather be a hammer than a nail.

> To all,
>
[quoted text clipped - 29 lines]
>
> Thank you in advance for your assistance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.