Click here to Skip to main content
15,905,144 members
Articles / Web Development / ASP.NET

duplicate name not allow

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
11 Jan 2013CPOL 0  
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.

Views

Daily Counts

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions