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
onlybhavin
NA
37
0
How to catch Primary key exception ???
Apr 13 2005 2:19 AM
Hi, I m faceing problem in catching exception. I m takeing User ID as input in textbox for insert query. Now when i press button save. It throws exception related to primary key. It gives message of its own. but i want to give my own message for it. When primary key constraint violates i want to give message ... " USER ID ALREADY EXIST PROVIDE ANOTHER ID." Is it possible ??? How can i do it ? Same way exception handling for open connection & close conection, I want to give my own message not .net specific. What can i do??? Please guide me step by step. thank u, bhavin gajjar
Reply
Answers (
6
)
Saving to delimited text file
setting IP of Ether Adapter