Click here to Skip to main content
12,890,388 members (50,187 online)
Click here to Skip to main content

Tagged as


Posted 11 Jan 2013

duplicate name not allow

, 11 Jan 2013 CPOL
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.



Compare Revision Minor Date Status Editor
2 - publicly available No 11-Jan-13 23:20 Available ridoy
code tag added
1 No 11-Jan-13 22:52 Available Lakshmimsridhar


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


About the Author

United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 12 Jan 2013
Article Copyright 2013 by Lakshmimsridhar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid