Click here to Skip to main content
15,902,715 members
Home / Discussions / C#
   

C#

 
QuestionThread of a delegate Pin
TheLaTouf1-Jul-09 3:43
TheLaTouf1-Jul-09 3:43 
AnswerRe: Thread of a delegate Pin
Ennis Ray Lynch, Jr.1-Jul-09 4:11
Ennis Ray Lynch, Jr.1-Jul-09 4:11 
AnswerRe: Thread of a delegate Pin
Nicholas Butler1-Jul-09 4:32
sitebuilderNicholas Butler1-Jul-09 4:32 
GeneralRe: Thread of a delegate Pin
TheLaTouf1-Jul-09 4:40
TheLaTouf1-Jul-09 4:40 
QuestionAutomatic download attachment from emails Pin
spankyleo1231-Jul-09 3:36
spankyleo1231-Jul-09 3:36 
AnswerRe: Automatic download attachment from emails Pin
c0ax_lx1-Jul-09 3:55
c0ax_lx1-Jul-09 3:55 
AnswerRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 5:09
moon_stick1-Jul-09 5:09 
GeneralRe: Automatic download attachment from emails Pin
spankyleo1231-Jul-09 8:57
spankyleo1231-Jul-09 8:57 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:18
moon_stick1-Jul-09 9:18 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:22
moon_stick1-Jul-09 9:22 
GeneralRe: Automatic download attachment from emails Pin
spankyleo1231-Jul-09 9:57
spankyleo1231-Jul-09 9:57 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 11:13
moon_stick1-Jul-09 11:13 
QuestionCut, Copy & Paste from variable text boxes Pin
Martin310881-Jul-09 3:20
Martin310881-Jul-09 3:20 
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
Eddy Vluggen1-Jul-09 3:39
professionalEddy Vluggen1-Jul-09 3:39 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Baeltazor1-Jul-09 7:39
Baeltazor1-Jul-09 7:39 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Eddy Vluggen1-Jul-09 8:20
professionalEddy Vluggen1-Jul-09 8:20 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Baeltazor1-Jul-09 20:28
Baeltazor1-Jul-09 20:28 
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
DaveyM691-Jul-09 3:46
professionalDaveyM691-Jul-09 3:46 
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
Luc Pattyn1-Jul-09 3:49
sitebuilderLuc Pattyn1-Jul-09 3:49 
QuestionExpanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
MagForJ1-Jul-09 3:11
MagForJ1-Jul-09 3:11 
Does anyone know the best way to store and access thousands of abbreviations which are stored in a db and output the full string. For example Intel's stock symbol is INTC. When i read INTC from the db i want to set string str to Intel Corporation so the full name can be displayed to the user. currently the full string is not stored anywhere, just output on the fly based on the abbreviation and a million if-else statements OMG | :OMG:
ie.
if(abrev.equals("INTC")) str = "Intel Corporation";
else if(abrev.equals("GOOG")) str = "Google Inc";
....
....


Obviously the wrong way to go about it. Should the full name just be added to the db? could create hash table with abbreviation as key and full string as value. Yes the if-else method works but is awful to look at and hilariously bad. Thanks guys and gals
AnswerRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
Manas Bhardwaj1-Jul-09 3:27
professionalManas Bhardwaj1-Jul-09 3:27 
AnswerRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
harold aptroot1-Jul-09 3:28
harold aptroot1-Jul-09 3:28 
AnswerRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
SeMartens1-Jul-09 3:29
SeMartens1-Jul-09 3:29 
AnswerRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
Keith Barrow1-Jul-09 3:37
professionalKeith Barrow1-Jul-09 3:37 
QuestionRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
EliottA1-Jul-09 4:25
EliottA1-Jul-09 4:25 

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.