TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Usha Raj
NA
144
59.6k
Prevent the insertion of duplicate records
Apr 13 2015 5:18 AM
I want to prevent the insertion of duplicate records,if the record is already exists then I want to send a message the record already exists.
please find the below file,It contains my database image.
I want to insert the data through regid,diffrent users can enter the same data but when the same user trying to enter same record 2 time then I should prevent.
In the below picture I rounded with blue(Regid:45),the user can able to enter like that but when the user is trying to enter same details with same regid(45) then I should restrict.Can any one tell me how to write the code for this
Attachment:
capture.rar
Reply
Answers (
3
)
How to pass List of Items that stored in DB to maruee tag
Scrollbar with GridView