Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
AnswerRe: MaskedTextBox - Different behavior on different machines, Why? Pin
BobJanova19-Jan-12 0:51
BobJanova19-Jan-12 0:51 
GeneralRe: MaskedTextBox - Different behavior on different machines, Why? Pin
Michel8319-Jan-12 1:24
Michel8319-Jan-12 1:24 
QuestionBest Way To Handle Nulls Pin
Kevin Marois18-Jan-12 11:08
professionalKevin Marois18-Jan-12 11:08 
AnswerRe: Best Way To Handle Nulls Pin
PIEBALDconsult18-Jan-12 11:26
mvePIEBALDconsult18-Jan-12 11:26 
GeneralRe: Best Way To Handle Nulls Pin
fjdiewornncalwe18-Jan-12 11:31
professionalfjdiewornncalwe18-Jan-12 11:31 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult18-Jan-12 12:21
mvePIEBALDconsult18-Jan-12 12:21 
GeneralRe: Best Way To Handle Nulls Pin
Kevin Marois18-Jan-12 11:53
professionalKevin Marois18-Jan-12 11:53 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult18-Jan-12 12:17
mvePIEBALDconsult18-Jan-12 12:17 
Then the simplest solution is to have a "Not a warehouse" entry in the warehouse table. This technique works well if you present a (drop down) list of warehouses to the user who can then select the warehouse.

However, personally, I'd prefer, rather than having a warehouse Id column in the project table, having a (many-to-many) relationship table. Some projects would have an entry (just one), others would have no entry. This is likely a better design for your project*, but I suspect your project is too far along to do it this way.


* A warehouse has several projects, a project doesn't have a warehouse.

modified 18-Jan-12 19:58pm.

GeneralRe: Best Way To Handle Nulls Pin
BobJanova18-Jan-12 22:28
BobJanova18-Jan-12 22:28 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult19-Jan-12 2:20
mvePIEBALDconsult19-Jan-12 2:20 
GeneralRe: Best Way To Handle Nulls Pin
jschell19-Jan-12 8:34
jschell19-Jan-12 8:34 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult19-Jan-12 13:47
mvePIEBALDconsult19-Jan-12 13:47 
GeneralRe: Best Way To Handle Nulls Pin
BobJanova19-Jan-12 22:14
BobJanova19-Jan-12 22:14 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult20-Jan-12 2:15
mvePIEBALDconsult20-Jan-12 2:15 
GeneralRe: Best Way To Handle Nulls Pin
jschell20-Jan-12 12:08
jschell20-Jan-12 12:08 
GeneralRe: Best Way To Handle Nulls Pin
PIEBALDconsult20-Jan-12 14:57
mvePIEBALDconsult20-Jan-12 14:57 
GeneralRe: Best Way To Handle Nulls Pin
jschell23-Jan-12 7:52
jschell23-Jan-12 7:52 
GeneralRe: Best Way To Handle Nulls Pin
jschell19-Jan-12 8:36
jschell19-Jan-12 8:36 
AnswerRe: Best Way To Handle Nulls Pin
fjdiewornncalwe18-Jan-12 11:29
professionalfjdiewornncalwe18-Jan-12 11:29 
GeneralRe: Best Way To Handle Nulls Pin
BobJanova18-Jan-12 22:29
BobJanova18-Jan-12 22:29 
AnswerRe: Best Way To Handle Nulls Pin
RobCroll18-Jan-12 15:00
RobCroll18-Jan-12 15:00 
AnswerRe: Best Way To Handle Nulls Pin
Luc Pattyn18-Jan-12 16:30
sitebuilderLuc Pattyn18-Jan-12 16:30 
AnswerRe: Best Way To Handle Nulls Pin
Pete O'Hanlon18-Jan-12 22:57
mvePete O'Hanlon18-Jan-12 22:57 
Questionemployee imformation list !!! Pin
fafal18-Jan-12 3:55
fafal18-Jan-12 3:55 
AnswerRe: employee imformation list !!! Pin
Pete O'Hanlon18-Jan-12 4:40
mvePete O'Hanlon18-Jan-12 4:40 

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.