Click here to Skip to main content
15,924,402 members
Home / Discussions / C#
   

C#

 
AnswerCross post. Also posted in the WPF forum Pin
Pete O'Hanlon16-Dec-09 3:22
mvePete O'Hanlon16-Dec-09 3:22 
QuestionMerging Headers of datagridview in C#.Net Pin
Kavyashri16-Dec-09 0:58
Kavyashri16-Dec-09 0:58 
AnswerRe: Merging Headers of datagridview in C#.Net Pin
#realJSOP16-Dec-09 2:54
professional#realJSOP16-Dec-09 2:54 
AnswerRe: Merging Headers of datagridview in C#.Net Pin
Dave Kreskowiak16-Dec-09 5:03
mveDave Kreskowiak16-Dec-09 5:03 
QuestionSubscript Characters? Pin
o m n i16-Dec-09 0:57
o m n i16-Dec-09 0:57 
AnswerRe: Subscript Characters? Pin
#realJSOP16-Dec-09 2:55
professional#realJSOP16-Dec-09 2:55 
AnswerRe: Subscript Characters? [modified] Pin
BillWoodruff18-Dec-09 12:00
professionalBillWoodruff18-Dec-09 12:00 
QuestionHashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 0:37
Bruce Coward16-Dec-09 0:37 
I am trying to use a hashtable (or equivalent) to store and recover a number of small structures or classes.

The hashtable record will need to have a UInst32 key and an associated data structure or class that looks some thing like this:

bool bRecUsedFlag;
UInt32 uiPGN;
UInt32 uiRecCtr;
byte[] bPGNData;

I can see odd references that indicate that this is possible but every attempt I have to code it is failing.

Can anyone give me a small example of how to create this table, add records to it and get records from it please?

Many thanks, Bruce Smile | :)
AnswerRe: Hashtable with Structure or Class Object Pin
Richard MacCutchan16-Dec-09 0:50
mveRichard MacCutchan16-Dec-09 0:50 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 1:06
Bruce Coward16-Dec-09 1:06 
GeneralRe: Hashtable with Structure or Class Object Pin
Richard MacCutchan16-Dec-09 1:20
mveRichard MacCutchan16-Dec-09 1:20 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 1:26
Bruce Coward16-Dec-09 1:26 
GeneralRe: Hashtable with Structure or Class Object Pin
Richard MacCutchan16-Dec-09 1:46
mveRichard MacCutchan16-Dec-09 1:46 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 2:08
Bruce Coward16-Dec-09 2:08 
AnswerRe: Hashtable with Structure or Class Object Pin
Estys16-Dec-09 2:28
Estys16-Dec-09 2:28 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 2:37
Bruce Coward16-Dec-09 2:37 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 3:02
Bruce Coward16-Dec-09 3:02 
GeneralRe: Hashtable with Structure or Class Object [modified] Pin
Estys16-Dec-09 3:10
Estys16-Dec-09 3:10 
GeneralRe: Hashtable with Structure or Class Object Pin
Bruce Coward16-Dec-09 3:25
Bruce Coward16-Dec-09 3:25 
QuestionSilverlight Control interactions with WinForms Pin
softwarejaeger16-Dec-09 0:31
softwarejaeger16-Dec-09 0:31 
QuestionBackup of the application data [modified] Solved Pin
NarendraSinghJTV16-Dec-09 0:17
NarendraSinghJTV16-Dec-09 0:17 
AnswerRe: Backup of the application data Pin
Saksida Bojan16-Dec-09 2:42
Saksida Bojan16-Dec-09 2:42 
GeneralRe: Backup of the application data Pin
NarendraSinghJTV16-Dec-09 23:39
NarendraSinghJTV16-Dec-09 23:39 
GeneralRe: Backup of the application data Pin
Saksida Bojan17-Dec-09 4:02
Saksida Bojan17-Dec-09 4:02 
GeneralRe: Backup of the application data Pin
NarendraSinghJTV18-Dec-09 1:45
NarendraSinghJTV18-Dec-09 1:45 

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.