Click here to Skip to main content
16,010,544 members
Home / Discussions / C#
   

C#

 
GeneralRe: Font style Pin
Christopher Lord17-Feb-02 19:53
Christopher Lord17-Feb-02 19:53 
GeneralRe: Font style Pin
James T. Johnson18-Feb-02 0:51
James T. Johnson18-Feb-02 0:51 
GeneralRe: Font style Pin
Mazdak18-Feb-02 2:56
Mazdak18-Feb-02 2:56 
GeneralRe: Font style Pin
James T. Johnson18-Feb-02 10:12
James T. Johnson18-Feb-02 10:12 
GeneralRe: Font style Pin
Mazdak18-Feb-02 19:53
Mazdak18-Feb-02 19:53 
GeneralRe: Font style Pin
Mazdak18-Feb-02 23:19
Mazdak18-Feb-02 23:19 
GeneralRe: Font style Pin
James T. Johnson18-Feb-02 23:24
James T. Johnson18-Feb-02 23:24 
GeneralPopulating and Viewing Arrays Pin
Gavin_Mannion14-Feb-02 23:58
Gavin_Mannion14-Feb-02 23:58 
Hi All,

I am currently creating an application that needs to populate a number of arrays and then I need to be able to call them again in different parts of the application.

At the moment I have figured out how to Populate an array if I know how many items I am going to have but how do popualte and array when I don't know how many items there are.
And Smile | :) How do I find out how many items there are in an array once it is populated?

This is what I have at the moment

====================
string[] ClinicNames;
ClinicNames = new string[99];
int j = 0;
while (dReader.Read())
{
ClinicNames[j] = dReader.GetString(1);
j = j + 1;
}
====================
GeneralRe: Populating and Viewing Arrays Pin
Peter Stephens15-Feb-02 7:11
Peter Stephens15-Feb-02 7:11 
GeneralAxHost, but on C site... Pin
14-Feb-02 10:56
suss14-Feb-02 10:56 
GeneralRe: AxHost, but on C site... Pin
Peter Stephens14-Feb-02 11:37
Peter Stephens14-Feb-02 11:37 
GeneralRe: AxHost, but on C site... Pin
14-Feb-02 19:46
suss14-Feb-02 19:46 
Generaldrag & drop as in explorer Pin
kasturirawat14-Feb-02 6:38
kasturirawat14-Feb-02 6:38 
GeneralDetecting when a MdiList Child MenuItem is selected Pin
kyledunn14-Feb-02 5:32
kyledunn14-Feb-02 5:32 
GeneralRe: Detecting when a MdiList Child MenuItem is selected Pin
Torsten Mauz11-Mar-02 3:03
Torsten Mauz11-Mar-02 3:03 
GeneralOpening New Form Pin
Gavin_Mannion14-Feb-02 4:55
Gavin_Mannion14-Feb-02 4:55 
GeneralRe: Opening New Form Pin
14-Feb-02 7:33
suss14-Feb-02 7:33 
GeneralRe: Opening New Form Pin
Gavin_Mannion14-Feb-02 23:15
Gavin_Mannion14-Feb-02 23:15 
GeneralRe: Opening New Form Pin
Andres Manggini20-Feb-02 15:38
Andres Manggini20-Feb-02 15:38 
GeneralPorting MFC to UNIX Pin
14-Feb-02 0:32
suss14-Feb-02 0:32 
GeneralRe: Porting MFC to UNIX Pin
Christopher Lord17-Feb-02 14:57
Christopher Lord17-Feb-02 14:57 
GeneralAssociating shortcut key with a button Pin
paulb13-Feb-02 15:59
paulb13-Feb-02 15:59 
GeneralProgrammatically pressing F1 key on keyboard Pin
kyledunn13-Feb-02 10:12
kyledunn13-Feb-02 10:12 
GeneralRe: Programmatically pressing F1 key on keyboard Pin
15-Feb-02 9:44
suss15-Feb-02 9:44 
QuestionSending multiple items to the clipboard? Pin
13-Feb-02 8:25
suss13-Feb-02 8: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.