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

C#

 
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 
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 
Items like this don't, in my experience, create major design issues. Larger business rules such as (and I'm making this up) "Child record can only be entered if Parent record field 'hasChild' is checked" tend to be what cause more problems from a design perspective if you hard code them. You might later decide you want to determine whether a parent has a child based on whether or not there are actually any child records related to a parent record, so such a validation would be done more at the database level (I hope I'm not being to obscure here).

Simple "sanity checking", so to speak, won't create major design flaws that will cause you to have to start over. You might have to tweak the patterns you are using, but there is not a lot of danger in doing so and will in all liklihood be necessary. In practice I almost always just add the basic validation to both the client and server (or just the form in winforms) without providing some larger design structure for it. That's me though. I'm sure there are other opinions. Wink | ;-)

-Matt

------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
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 
GeneralRe: Dispalying decimal value in the textbox Pin
User 665810-Feb-06 9:35
User 665810-Feb-06 9:35 
GeneralRe: Dispalying decimal value in the textbox Pin
Dave Kreskowiak10-Feb-06 12:13
mveDave Kreskowiak10-Feb-06 12:13 
GeneralRe: Dispalying decimal value in the textbox Pin
User 665811-Feb-06 2:51
User 665811-Feb-06 2:51 

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.