Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Service Interaction Pin
Ravi Bhavnani10-Feb-06 11:14
professionalRavi Bhavnani10-Feb-06 11:14 
GeneralRe: Windows Service Interaction Pin
perlmunger10-Feb-06 11:30
perlmunger10-Feb-06 11:30 
AnswerRe: Windows Service Interaction Pin
Nicholas Butler11-Feb-06 0:28
sitebuilderNicholas Butler11-Feb-06 0:28 
QuestionWhat is 192.168.1.1 Pin
jinzhecheng10-Feb-06 10:18
jinzhecheng10-Feb-06 10:18 
AnswerRe: What is 192.168.1.1 Pin
Stanciu Vlad10-Feb-06 10:24
Stanciu Vlad10-Feb-06 10:24 
GeneralRe: What is 192.168.1.1 Pin
perlmunger10-Feb-06 10:35
perlmunger10-Feb-06 10:35 
AnswerRe: What is 192.168.1.1 Pin
kourvoisier10-Feb-06 12:06
kourvoisier10-Feb-06 12:06 
QuestionValidate Windows Forms Data Pin
Wayne Phipps10-Feb-06 10:02
Wayne Phipps10-Feb-06 10:02 
OK, i'm building an application where a user will be required to enter customer data which will later be stored in a database.

As an example, the user may have to enter the customers email address into a text box.

Now obviously, there has to be some kind of validation between the data being entered in the UI and stored in the database not only to avoid sql injection but also to check the format etc.

My question is where the validation should occur?

Should there be an emailAddress object which performs such validation?

It doesn't seem the right approach to attach all the validation to the UI.




Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
View my Blog

AnswerRe: Validate Windows Forms Data Pin
perlmunger10-Feb-06 10:55
perlmunger10-Feb-06 10:55 
GeneralRe: Validate Windows Forms Data Pin
Wayne Phipps10-Feb-06 11:10
Wayne Phipps10-Feb-06 11:10 
GeneralRe: Validate Windows Forms Data Pin
perlmunger10-Feb-06 11:53
perlmunger10-Feb-06 11:53 
QuestionSocket Exception Delay?? Pin
ckaneAV10-Feb-06 9:03
ckaneAV10-Feb-06 9:03 
AnswerRe: Socket Exception Delay?? Pin
Wayne Phipps10-Feb-06 10:12
Wayne Phipps10-Feb-06 10:12 
GeneralRe: Socket Exception Delay?? Pin
ckaneAV10-Feb-06 10:19
ckaneAV10-Feb-06 10:19 
GeneralRe: Socket Exception Delay?? Pin
Wayne Phipps10-Feb-06 11:22
Wayne Phipps10-Feb-06 11:22 
QuestionProblem: No value given for one or more ... Pin
NaNg1524110-Feb-06 8:50
NaNg1524110-Feb-06 8:50 
AnswerRe: Problem: No value given for one or more ... Pin
perlmunger10-Feb-06 10:57
perlmunger10-Feb-06 10:57 
QuestionClearing Combobox Pin
Syed Umar Anis10-Feb-06 8:49
professionalSyed Umar Anis10-Feb-06 8:49 
AnswerRe: Clearing Combobox Pin
perlmunger10-Feb-06 11:02
perlmunger10-Feb-06 11:02 
QuestionListView OwnerDraw and Custom Background Pin
PicklesTheClown10-Feb-06 8:28
PicklesTheClown10-Feb-06 8:28 
QuestionUnable to get a Profile custom (object) collection to bind to GridView,etc (IList objects)? Pin
kloepper10-Feb-06 8:00
kloepper10-Feb-06 8:00 
QuestionDispalying decimal value in the textbox Pin
zaboboa10-Feb-06 7:41
zaboboa10-Feb-06 7:41 
AnswerRe: Dispalying decimal value in the textbox Pin
Dave Kreskowiak10-Feb-06 7:45
mveDave Kreskowiak10-Feb-06 7:45 
GeneralRe: Dispalying decimal value in the textbox Pin
zaboboa10-Feb-06 7:51
zaboboa10-Feb-06 7:51 
GeneralRe: Dispalying decimal value in the textbox Pin
Dave Kreskowiak10-Feb-06 9:10
mveDave Kreskowiak10-Feb-06 9:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.