-
ASP.NET Text box control
If i place 2 text boxes on a form and compile it will run.. With out entering data in the first text box i can enter in to another.. What i need is i don't want the cursor to go to the next text box if i left it as blank... How can i ro this in ASP or vb.Net
-
-
-
-
Why do I get an error (CS1006) when trying to declare a method without specifying a return type?
If you leave off the return type on a method declaration, the compiler thinks you are trying to declare a constructor. So if you are trying to declare a method that returns nothing, use void. The following is an example: // This results in a CS1006 errorpublic static staticMethod (mainStatic obj)// This will work as wantedpublic static void staticMethod (mainStatic obj)