Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

duplicate name not allow

, 11 Jan 2013
You can check usingstring sql = string.format(" select count(*) from table name where name='{0}'", txtname.text);if it exitst it gives 1 else 0then u can allow to enter.

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 12-Jan-13 5:20 Available ridoy
code tag added
1 No 12-Jan-13 4:52 Available Lakshmimsridhar

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Lakshmimsridhar

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 12 Jan 2013
Article Copyright 2013 by Lakshmimsridhar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid