eramgarden Posted March 11, 2004 Posted March 11, 2004 I have a text box, i'm checking it against empty string ( "")... If i have it as this: it works If txtCCC.Text <> "" ... end if ----------- But if I have it like this: if txtCCC.Text.Trim.Empty Or if txtCCC.text.ToString.Trim.Empty OR if (txtCCC.Text).Trim.Empty I get the error that input string is not in correct format. Why??? Quote
Administrators PlausiblyDamp Posted March 11, 2004 Administrators Posted March 11, 2004 if txtCCC.Text.Trim = String.Empty then end if Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.