Click here to Skip to main content
15,905,967 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bug: Forms are not painting after windows lock Pin
Ennis Ray Lynch, Jr.21-Jan-09 9:30
Ennis Ray Lynch, Jr.21-Jan-09 9:30 
QuestionMemory Management with DataTable.Merge() Pin
DeepToot21-Jan-09 8:03
DeepToot21-Jan-09 8:03 
AnswerRe: Memory Management with DataTable.Merge() Pin
Ennis Ray Lynch, Jr.21-Jan-09 8:33
Ennis Ray Lynch, Jr.21-Jan-09 8:33 
GeneralRe: Memory Management with DataTable.Merge() Pin
DeepToot21-Jan-09 9:22
DeepToot21-Jan-09 9:22 
GeneralRe: Memory Management with DataTable.Merge() Pin
Ennis Ray Lynch, Jr.21-Jan-09 9:28
Ennis Ray Lynch, Jr.21-Jan-09 9:28 
GeneralRe: Memory Management with DataTable.Merge() Pin
DeepToot21-Jan-09 9:36
DeepToot21-Jan-09 9:36 
QuestionAny alternative Pin
CodingYoshi21-Jan-09 7:04
CodingYoshi21-Jan-09 7:04 
AnswerRe: Any alternative Pin
Ennis Ray Lynch, Jr.21-Jan-09 7:13
Ennis Ray Lynch, Jr.21-Jan-09 7:13 
The most complete approach is to create a class TransportationType with the members Id and Descrption as ReadOnly properties. Then provide a static enumeration as well as static accessors.

However, to address your question, yes, "Vessel" would be hard-coding. Also, it would be better to check against the Id number if it so exists than the textual description. You would be surprised how often then get misspelled.


Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.


If you don't ask questions the answers won't stand in your way.


Most of this sig is for Google, not ego.


GeneralRe: Any alternative Pin
CodingYoshi21-Jan-09 8:09
CodingYoshi21-Jan-09 8:09 
GeneralRe: Any alternative Pin
Ennis Ray Lynch, Jr.21-Jan-09 8:31
Ennis Ray Lynch, Jr.21-Jan-09 8:31 
GeneralRe: Any alternative Pin
CodingYoshi21-Jan-09 8:42
CodingYoshi21-Jan-09 8:42 
GeneralRe: Any alternative Pin
Ennis Ray Lynch, Jr.21-Jan-09 9:03
Ennis Ray Lynch, Jr.21-Jan-09 9:03 
GeneralRe: Any alternative Pin
Jon Rista21-Jan-09 10:13
Jon Rista21-Jan-09 10:13 
GeneralRe: Any alternative Pin
Ennis Ray Lynch, Jr.21-Jan-09 10:14
Ennis Ray Lynch, Jr.21-Jan-09 10:14 
AnswerRe: Any alternative Pin
DaveyM6921-Jan-09 7:34
professionalDaveyM6921-Jan-09 7:34 
AnswerRe: Any alternative Pin
PIEBALDconsult21-Jan-09 7:39
mvePIEBALDconsult21-Jan-09 7:39 
AnswerRe: Any alternative Pin
Jon Rista21-Jan-09 10:27
Jon Rista21-Jan-09 10:27 
Questionparent child communication Pin
bfis10813721-Jan-09 6:35
bfis10813721-Jan-09 6:35 
AnswerRe: parent child communication Pin
PIEBALDconsult21-Jan-09 6:50
mvePIEBALDconsult21-Jan-09 6:50 
GeneralRe: parent child communication Pin
bfis10813721-Jan-09 7:09
bfis10813721-Jan-09 7:09 
GeneralRe: parent child communication Pin
PIEBALDconsult21-Jan-09 7:13
mvePIEBALDconsult21-Jan-09 7:13 
AnswerRe: parent child communication Pin
DaveyM6921-Jan-09 7:21
professionalDaveyM6921-Jan-09 7:21 
GeneralRe: parent child communication Pin
bfis10813722-Jan-09 3:32
bfis10813722-Jan-09 3:32 
GeneralRe: parent child communication Pin
DaveyM6922-Jan-09 4:53
professionalDaveyM6922-Jan-09 4:53 
GeneralRe: parent child communication Pin
bfis10813722-Jan-09 4:56
bfis10813722-Jan-09 4:56 

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.