aadi56
New member
- Joined
- Dec 28, 2020
- Messages
- 3
- Programming Experience
- Beginner
I am trying to make employee registration page in asp.net with database as MongoDB. What I want to do is to have the unique email id, when a user tries to register with a email id it should show that email id already exists in the database I am not able to figure out how to do this in MongoDB While in Asp+ SQL there are tons of resources but not in Asp+mongoDb Here is the pastebin , I have included Model class & Controller Class.
hastebin
I am not able to figure out how to show Error message if user tries to register with same email id
hastebin
I am not able to figure out how to show Error message if user tries to register with same email id