how to put the conditions for empcode in java
In my project there is an option for updation,to update their details they have to enter their employeecode.i want to put some conditions for that employeecode.
The employeecode starts with 'tr' and 'mh' followed by 5digits.
ex: tr10700
mh10790
so i want to keep conditions that 1st two positions shud be letters and that too tr and mh,next positions shud be 5digits.if these conditions are not satisfied then it shud display some message like invalid code .....
also the entered employeecode shud match with empcode in database otherwise it shud giv invalid empcode....
how to do put these conditions,plz giv me the code....its urgent....
thk u.....
View Answers
Ads
Related Tutorials/Questions & Answers:
how to put the conditions for empcode in java
how to
put the
conditions for
empcode in java In my project... their employeecode.i want to
put some
conditions for that employeecode.
The employeecode... shud match with
empcode in database otherwise it shud giv invalid
empcode....
how
Advertisements
How to put points on a JButton
How to
put points on a JButton I wanted to ask....what am i supposed to do if i wanna set points on my JButton so as to be able to draw arcs... on each side are connected to openings on other sides....
how can i get
How to put the image in footer in login form ?
How to
put the image in footer in login form ? Hi,
how to
put the image in footer in login form ?
Here is an example that shows image on footer along with Login Form in
Java Swing.
import javax.swing.*;
import
How to put the logo in login form using swings/awt?
How to
put the logo in login form using swings/awt? Hi,
How to
put... but i want to
put the logo in login form
plz help
Here is an example that will display logo along with login form in
Java Swing.
import javax.swing.
ModuleNotFoundError: No module named 'conditions'
'
conditions'
How to remove the ModuleNotFoundError: No module named '
conditions' error?
Thanks
Hi,
In your python environment you...ModuleNotFoundError: No module named '
conditions' Hi,
My Python
ModuleNotFoundError: No module named 'put'
ModuleNotFoundError: No module named '
put' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
put'
How to remove the ModuleNotFoundError: No module named '
put' error
Example Using put() method
that
how a
put function
is used in the program, in this example first time when... :
C:\anshu>javac put.java
C:\anshu>
java put... Example Using
put() method
 
How to use 'for' loop in jsp page?
How to use 'for' loop in jsp page?
This is detailed
java code that shows
how to use 'for'
loop in jsp page. 'if' statement is used to test
conditions while
Conditions In Java Script
Conditions In
Java Script
 ... of JavaScript and
create your first JavaScript program.
About JavaScript
Java... the user's browser
opens the HTML file. JavaScript is different from the
Java language
i want print the following out put
i want print the following out put Hello sir i want the following out
put can u provide the program in c#
o/p;
HELLOLLEH
HELLLEH
HELEH
HEH
H
Partial Search from Hash Table in Java
Partial Search from Hash Table in
Java
This section illustrates you
how to
put some... to
put some string in the Hash Table of
Java and get it
for searching. This is done
Can I put coursera on my resume?
Can I
put coursera on my resume? Hi,
I am beginner in Data Science...
put coursera on my resume?
Try to provide me good examples or tutorials links so that I can learn the
topic "Can I
put coursera on my resume?"
Can I put online courses on my CV?
Can I
put online courses on my CV? Hi,
I am beginner in Data... I
put online courses on my CV?
Try to provide me good examples or tutorials links so that I can learn the
topic "Can I
put online courses on my CV?"
Should I put DataCamp on my resume?
Should I
put DataCamp on my resume? Hi,
I am beginner in Data...:
Should I
put DataCamp on my resume?
Try to provide me good examples or tutorials links so that I can learn the
topic "Should I
put DataCamp on my resume
How to Use Java Functions In EL
How to Use
Java Functions In EL
To use a
Java Functions in EL we... of calling method from a jsp page.
Put this
java
file in the /WEB-INF/classes