Advertisement
In this article we can see how to find exiting email id from data base and it will display error message if it already exits
We created a method with name uniqueEmail.
Established a connection to the database.
Getting the data from the table aspnet_Membership.
Using the ExecuteReader to read the values and checking the condition weather email id is already exists or not.
if (uniqueEmail())
{
Insert Code logic //
or
Update Code Logic
}
Output:
We created a method with name uniqueEmail.
Established a connection to the database.
Getting the data from the table aspnet_Membership.
Using the ExecuteReader to read the values and checking the condition weather email id is already exists or not.
public bool uniqueEmail() { string iemail; string constr = ABCDataAccessLayer.ABCConnctionString; // connection string SqlConnection con = new SqlConnection(constr); con.Open(); string query = "select count(Email) as Email from aspnet_Membership where Email= '" + txtEmailID.Text + "'"; SqlCommand cmd = new SqlCommand(query, con); SqlDataReader dr; dr = cmd.ExecuteReader(); while (dr.Read()) { iemail = dr["Email"].ToString(); if (iemail != "0") { mailerror.Text = "Enter different email id"; return false; } } return true; }Keep if condition,if you want to check email in insert mode or update mode
if (uniqueEmail())
{
Insert Code logic //
or
Update Code Logic
}
Output:
I started on SharePoint around and have gone through the same denials, acceptance, and now really loving the vast landscape of SharePoint. There is so much to learn, so many real world problems to solve, and so many fantastic ways to solve them.
ReplyDeleteSharePoint Online Training
Great Article
DeleteFinal Year Projects for CSE in Dot Net
Final Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai
Hire a hacker to click here on how to monitor your spouse whatsapp messages
DeleteThis website get me all i wanted by
Deleteclick here on how to monitor your spouse whatsapp messages
Nice knowledge gaining article. This post is really the best on this valuable topic. UC mini app
ReplyDeletei want this code in mvc without entity framework
ReplyDeleteThis blog is literally what I was searching for.
ReplyDeletehttps://www.duocircle.com/email/phishing-protection/
This comment has been removed by the author.
ReplyDeleteReally I Appreciate The Effort You Made To Share The Knowledge. This Is Really A Great Stuff For Sharing. Keep It Up . Thanks For Sharing.
ReplyDeleteCloud Training
Cloud Training in Chennai
Great post, thank you for sharing. I want to add one more tool to your collection: improver.io. It's my favorite Chrome extension for contact finding.find email from linkedin
ReplyDeleteIn fact, the system is considered to be so important that it's now considered a necessary part of any modern database systems.dbdesigner.net
ReplyDeleteI’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... correo hotmail
ReplyDeleteWow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. sign in to Hotmail
ReplyDeletei never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. www.hotmail.com
ReplyDeleteThis was really an interesting topic and I kinda agree with what you have mentioned here!
ReplyDeletecompany email
thank you for this such a good information about hotmail email login on www.hotmail.com
ReplyDeleteI’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one www.hotmail.com
ReplyDeleteI am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job ! https://hotmail-account.email
ReplyDeleteThis article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. Hotmail é um serviço de webmail gratuito
ReplyDeleteActually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. buy high quality kratom
ReplyDeleteBelow you will understand what is important, the idea provides one of the links with an exciting site: grossiste fleurs
ReplyDeleteI think I have never seen such blogs ever before that has complete things with all details which I want. So kindly update this ever for us.
ReplyDeleteData Science Course
Well we really like to visit this site, many useful information we can get here.
ReplyDeleteData Science Training
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It's really very nice and Useful post.Thanks..
ReplyDeleteData Science Courses
The web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
ReplyDeleteData Science Certification
Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. best email marketing services
ReplyDeleteStupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteDigital Marketing Course in Bhilai
Tremendous blog quite easy to grasp the subject since the content is very simple to understand. Obviously, this helps the participants to engage themselves in to the subject without much difficulty. Hope you further educate the readers in the same manner and keep sharing the content as always you do.
ReplyDeleteData Science Course in Raipur
You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. how to send mass email
ReplyDeleteFantastic blog extremely good well enjoyed with the incredible informative content which surely activates the learners to gain the enough knowledge. Which in turn makes the readers to explore themselves and involve deeply in to the subject. Wish you to dispatch the similar content successively in future as well.
ReplyDeleteData Science training in Bhilai
Email marketing is a power to deal with. It has different advantages which can be used according to require. The significant level of personalization alongside the different sorts that the basic email can transform into has made it a flexible instrument. b2b marketing email list
ReplyDeleteI want to thank you for your efforts in writing this article. I look forward to the same best job from you in the future.
ReplyDeleteData Science Course
I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, آدرس جدید سایت گاد بت
ReplyDeleteTruly mind blowing blog went amazed with the subject they have developed the content. These kind of posts really helpful to gain the knowledge of unknown things which surely triggers to motivate and learn the new innovative contents. Hope you deliver the similar successive contents forthcoming as well.
ReplyDeleteDigital Marketing Course
Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteData Science training in Raipur
Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.
ReplyDeleteData Science training in Bhilai
The real abilities are very straightforward - you probably as of now have them dominated. What you need to realize is the PROCESS. That takes a brief period, yet honestly not unreasonably much. SMM Panel
ReplyDeleteI want to say thanks for beautiful blog sharing with us. Your blog really great resource to update my knowledge. سایت تتل بت
ReplyDeleteWonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such an amazing content for all the curious readers who are very keen of being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in future too.
ReplyDeleteDigital Marketing training
Amazing, this is great as you want to learn more, I invite to This is my page. why hack a phone
ReplyDeleteTruly incredible blog found to be very impressive due to which the learners who ever go through it will try to explore themselves with the content to develop the skills to an extreme level. Eventually, thanking the blogger to come up with such an phenomenal content. Hope you arrive with the similar content in future as well.
ReplyDeleteDigital Marketing Course in Raipur
learn how to hack into my husband’s WhatsApp account, that why we are here to guide you are you can easily access your partner or husband WhatsApp.
ReplyDeleteclick here on how to monitor your spouse whatsapp messages
Hire a professional team to by clicking on track spouse WhatsApp messages
ReplyDeleteTrusted Professional Hacker for Hire://hackactivities.com/2021/03/02/trusted-professional-hackers-for-hire/
ReplyDeleteSchool grade hacker for hire
ReplyDeletehttps://Hire pro hacker to hack your university grade
Hire a hacker today to hack all type of phone
ReplyDeletehttps://hackactivities.com
https://Hire a hacker to hack email address
ReplyDeleteComputer hacker for hire
ReplyDeletehttps://Best hacker for hire
https://Hire a hacker to expunge criminal record
ReplyDeleteEmail promoting administrations give viable and simple approach to get accomplishes wanted advertising objectives. Through Email benefits your message or administrations is shipped off clients. It's likewise assists with developing relationship with the clients by customized and pertinent email correspondences. Email showcasing is a best and least expensive approach to disseminate your business messages to clients or public portion by means of mailer (email). what is email marketing
ReplyDeleteYou bear through a awesome vacancy. I sanity definitely quarry it moreover personally suggest to my buddys. I am self-possessed they determination be benefited from this scene. email scrubber
ReplyDeleteFantastic blog extremely good well enjoyed with the incredible informative content which surely activates the learners to gain the enough knowledge. Which in turn makes the readers to explore themselves and involve deeply in to the subject. Wish you to dispatch the similar content successively in future as well.
ReplyDeleteData Science Training in Bhilai
I use only high quality materials - you can see them at: LinkedIn Scraper
ReplyDeletewow this saintly however ,I love your enter plus nice pics might be part personss negative love being defrent mind total poeple , are speaking
ReplyDeleteStupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteData Science Certification in Bhilai
I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best! https://zetamatic.com/downloads/checkout-address-autofill-for-woocommerce-pro/
ReplyDeleteWhen spying on cell phone all you need is a specialist that can really help with a Good spy app
ReplyDeleteOne of the most popular school information platforms is PowerSchool. PowerSchool is known to have carried a vulnerability which we at Pro hackers have exploited a lot. This allows an attacker to list the content of the admin folder via a specially crafted URL. The impact of this vulnerability depends on the settings of the Web server and what the folder contains. hacker for hire
ReplyDeleteFrom this, we can access the database from single security flaws.
Awesome blog. Thanks for sharing such a worthy information....
ReplyDeleteFull stack developer course in bangalore
Full stack developer course in pune
Full stack developer course in Gurgaon
Full stack developer course in hyderabad
Full stack developer course in delhi
I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Zendable
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteA big thank you for your article post. Really looking forward to read more. Much obliged.instagram video downloader
ReplyDeleteWonderful blog found to be very impressive to come across such an awesome blog. I should really appreciate the blogger for the efforts they have put in to develop such an amazing content for all the curious readers who are very keen of being updated across every corner. Ultimately, this is an awesome experience for the readers. Anyways, thanks a lot and keep sharing the content in future too.
ReplyDeleteData Science Course in Bhilai
Extraordinary blog went amazed with the content that they have developed in a very descriptive manner. This type of content surely ensures the participants to explore themselves. Hope you deliver the same near the future as well. Gratitude to the blogger for the efforts.
ReplyDeleteData Science Training
Liên hệ Aivivu, đặt vé máy bay tham khảo
ReplyDeletevé máy bay đi Mỹ hạng thương gia
vé máy bay từ atlanta về việt nam
chuyến bay từ frankfurt đến hà nội
vé máy bay từ nga về việt nam bao nhiêu
vé máy bay từ anh về việt nam
bay từ pháp về việt nam mấy tiếng
vé máy bay cho chuyên gia nước ngoài
Stupendous blog huge applause to the blogger and hoping you to come up with such an extraordinary content in future. Surely, this post will inspire many aspirants who are very keen in gaining the knowledge. Expecting many more contents with lot more curiosity further.
ReplyDeleteData Science Certification in Bhilai
Such a great blog. Thanks for sharing
ReplyDeletepython training institute in chennai
Happy to read the informative blog. Thanks for sharing
ReplyDeletebest german language institute in chennai
best german classes in chennai
Extraordinary Blog. Provides necessary information.
ReplyDeletebest german language institute in chennai
top german classes in chennai
Great post. keep sharing such a worthy information.
ReplyDeleteCloud Computing Courses in Chennai
Cloud Computing Online Course
Aivivu đại lý vé máy bay, tham khảo
ReplyDeletegiá vé máy bay đi Mỹ khứ hồi
vé máy bay từ mỹ về việt nam 2021
vé máy bay từ đức về sài gòn
vé máy bay từ nhật bản về việt nam
vé máy bay vietjet từ hàn quốc về việt nam
vé máy bay giá rẻ từ Canada về Việt Nam
Chi phí cho chuyên gia nước ngoài
Nice blog! Thanks for sharing this valuable information
ReplyDeletePython Training in Bangalore
Python Classes in Pune
Amazing Post. keep update more information.
ReplyDeleteEthical Hacking Course in OMR
Ethical Hacking Course in Chennai
Thanks for sharing this blog. It was so informative.
ReplyDeletePerfect resume for freshers
Resume sample for fresher
Great post. keep sharing such a worthy information.
ReplyDeleteSocial Media Marketing Course in Chennai
Social Media Marketing Online Course
Great post. keep sharing such a worthy information.
ReplyDeleteSEO Training in Chennai
SEO Course
Nice informative content. Thanks for sharing the valuable information.
ReplyDeleteRPA Course in Chennai
RPA Online Course
RPA Course In Bangalore
Nice Information. Keep Posting such informative blogs.
ReplyDeleteFull stack classes in Pune