View Single Post
  #2   Spotlight this post!  
Unread 15-02-2010, 20:49
Scott L.'s Avatar
Scott L. Scott L. is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Engineer
 
Join Date: Sep 2003
Rookie Year: 1998
Location: Tunkhannock PA
Posts: 290
Scott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really nice
Send a message via AIM to Scott L.
Talking Re: ASP.NET 2.0 & SQL

Quote:
Originally Posted by Scott L. View Post
I am trying to design a web form that will insert collected data into a sql database when the submit button is clicked. At the moment I have the results being e-mailed to someone who than manually enters the data into a database. I'm using Visual Web Developer 2008, SQL 2005, and ASP.Net 2.0 VB coding.
Got that part working now. Have a new problem/ question.

How do I design a custom validator to check if a value typed in a particular field already exists in the database. Currently an error is returned about the PK already existing.
__________________
You can do anything, if you put your mind to it!!!
http://asp.shinraikon.com