Home All Groups Group Topic Archive Search About
Author
7 Mar 2005 7:42 PM
OneSupaSam via .NET 247
(Type your message here)

Hi

Can anyone here give me an insight on how textboxes work in ASP.Net. After converting over my VBScript to ASP.Net i now find that none of my textboxes work.
The values in the textboxes are not "found" by the code when doing the following:

>>>>
If Textbox4 <> "" and  Textbox5 <> "" and Textbox6 <> "" then
    Textbox14= Textbox4& "," & Textbox5& "/" & Textbox6
else
    msgbox("Please complete all name fields")
end if  

>>>>
..Can anybody out there please enlighten me?

Thanks
Sam
--------------------------------

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>yoTIQtpOm0K9GyKcS36Beg==</Id>

Author
8 Mar 2005 11:46 PM
Samuel Kim
Try this:

If Textbox4.Text <> "" and  Textbox5.Text <> "" and Textbox6.Text <> ""
then


** TextBox4 etc are objects and not the values of the textbox