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

C#

 
AnswerRe: Convert SQL Data Type To C# Pin
BobJanova1-Jul-11 3:08
BobJanova1-Jul-11 3:08 
AnswerRe: Convert SQL Data Type To C# Pin
RaviRanjanKr2-Jul-11 8:10
professionalRaviRanjanKr2-Jul-11 8:10 
QuestionIs an Array of Dictionaries the solution here? Pin
TheBlindWatchmaker30-Jun-11 13:31
TheBlindWatchmaker30-Jun-11 13:31 
AnswerRe: Is an Array of Dictionaries the solution here? Pin
PIEBALDconsult30-Jun-11 14:15
mvePIEBALDconsult30-Jun-11 14:15 
GeneralRe: Is an Array of Dictionaries the solution here? Pin
TheBlindWatchmaker4-Jul-11 20:19
TheBlindWatchmaker4-Jul-11 20:19 
AnswerRe: Is an Array of Dictionaries the solution here? Pin
BobJanova1-Jul-11 3:05
BobJanova1-Jul-11 3:05 
GeneralRe: Is an Array of Dictionaries the solution here? Pin
TheBlindWatchmaker4-Jul-11 20:22
TheBlindWatchmaker4-Jul-11 20:22 
GeneralRe: Is an Array of Dictionaries the solution here? Pin
TheBlindWatchmaker4-Jul-11 21:04
TheBlindWatchmaker4-Jul-11 21:04 
Hi Bob,

I have a follow-up question. Is there a way for me to avoid declaring 10 * 7 = 70 dictionaries? 10 is the number of use-cases and 7 is the number of dictionaries I would require for each use case.

I have a group of radio controls (gb_profiles) on the GUI and have been able to edit its CheckedChanged function to derive the index of the control that has been checked.

private void rb_prof_CheckedChanged(object sender, EventArgs e)
       {
           /* We are doing the following here:
            * 1. Identifying the radio button selected
            * 2. Setting the profile_selected variable using the radio button index
            */

           foreach (Control ctl in gb_profiles.Controls)
           {
               if (sender.Equals(ctl))
               {
                   profile_selected = gb_profiles.Controls.IndexOf(ctl);
               }
           }
        }


How do I use this to load the dictionary with only the values for this profile?

Thanks for your help!
GeneralRe: Is an Array of Dictionaries the solution here? Pin
BobJanova5-Jul-11 7:17
BobJanova5-Jul-11 7:17 
GeneralRe: Is an Array of Dictionaries the solution here? Pin
TheBlindWatchmaker5-Jul-11 7:24
TheBlindWatchmaker5-Jul-11 7:24 
QuestionQuestion about embedding dll's into an executable Pin
turbosupramk330-Jun-11 10:13
turbosupramk330-Jun-11 10:13 
AnswerRe: Question about embedding dll's into an executable Pin
Not Active30-Jun-11 11:47
mentorNot Active30-Jun-11 11:47 
GeneralRe: Question about embedding dll's into an executable Pin
turbosupramk330-Jun-11 14:21
turbosupramk330-Jun-11 14:21 
GeneralRe: Question about embedding dll's into an executable Pin
Not Active30-Jun-11 15:00
mentorNot Active30-Jun-11 15:00 
GeneralRe: Question about embedding dll's into an executable Pin
turbosupramk330-Jun-11 15:24
turbosupramk330-Jun-11 15:24 
GeneralRe: Question about embedding dll's into an executable Pin
Not Active30-Jun-11 16:00
mentorNot Active30-Jun-11 16:00 
Questionscreen Boundary Pin
om_metab30-Jun-11 7:58
om_metab30-Jun-11 7:58 
AnswerRe: screen Boundary Pin
gavindon30-Jun-11 8:04
gavindon30-Jun-11 8:04 
AnswerRe: screen Boundary Pin
OriginalGriff30-Jun-11 9:24
mveOriginalGriff30-Jun-11 9:24 
AnswerRe: screen Boundary Pin
turbosupramk330-Jun-11 10:25
turbosupramk330-Jun-11 10:25 
AnswerRe: screen Boundary Pin
Richard MacCutchan30-Jun-11 22:41
mveRichard MacCutchan30-Jun-11 22:41 
GeneralAuto Login Via a Link Pin
dbongs29-Jun-11 23:33
dbongs29-Jun-11 23:33 
GeneralRe: Auto Login Via a Link Pin
Not Active30-Jun-11 2:01
mentorNot Active30-Jun-11 2:01 
GeneralRe: Auto Login Via a Link Pin
dbongs30-Jun-11 3:56
dbongs30-Jun-11 3:56 
GeneralRe: Auto Login Via a Link Pin
Łukasz Nowakowski30-Jun-11 4:15
Łukasz Nowakowski30-Jun-11 4:15 

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.