Click here to Skip to main content
12,348,850 members (68,892 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

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.

Revisions


  

Compare Revision Minor Date Status Editor
2 - 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)

Share

About the Author

Lakshmimsridhar
United States United States
No Biography provided

You may also be interested in...

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