|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
textbox.valueHi 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 <> "" thenTextbox14= 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> Try this:
If Textbox4.Text <> "" and Textbox5.Text <> "" and Textbox6.Text <> "" then ** TextBox4 etc are objects and not the values of the textbox
Newbie Question on Web DataGrid Focus
DataGrid Export to Excel Avoid adding a new record on refreshing the browser Underline a whole row for a particular row How can I format a telephone # in the datagrid How to read Column0 from DataGrid Modify rows in DataTable Row Span in a grid? Help needed with DataGrid Client-Side Scripting Changing text to a textbox control in row 5 of a datagrid |
|||||||||||||||||||||||