Click here to Skip to main content
15,881,204 members
Home / Discussions / C#
   

C#

 
Generalabout reports Pin
Dimitris Iliopoulos19-Jan-04 6:07
Dimitris Iliopoulos19-Jan-04 6:07 
GeneralRe: about reports Pin
Guillermo Rivero19-Jan-04 6:14
Guillermo Rivero19-Jan-04 6:14 
Generalprinting with CrystalReportsViewer Pin
troels_sorensen19-Jan-04 4:12
troels_sorensen19-Jan-04 4:12 
GeneralRe: printing with CrystalReportsViewer Pin
Heath Stewart19-Jan-04 4:50
protectorHeath Stewart19-Jan-04 4:50 
GeneralRe: printing with CrystalReportsViewer Pin
troels_sorensen19-Jan-04 5:26
troels_sorensen19-Jan-04 5:26 
GeneralInitialised data in C structures using C# Pin
Member 55383319-Jan-04 4:10
Member 55383319-Jan-04 4:10 
GeneralRe: Initialised data in C structures using C# Pin
Heath Stewart19-Jan-04 4:42
protectorHeath Stewart19-Jan-04 4:42 
GeneralRe: Initialised data in C structures using C# Pin
Member 55383319-Jan-04 6:07
Member 55383319-Jan-04 6:07 
Thanks Heath, I was actually wondering about how to initialise the data, and you put me on the right track. I've ended up with your class

public struct UserData<br />
{<br />
  public UserData( string name, string data, int n)<br />
  {<br />
    this.Name = name;<br />
    this.Data = data;<br />
    this.N = n;<br />
  }<br />
  public string Name;<br />
  public string Data;<br />
  public int N;<br />
}

and then for the data:

<br />
    public UserData[] uData =<br />
    {<br />
      new UserData( "Dave", "123", 44),<br />
      new UserData( "Harry", "345", 67),<br />
    };

and thus use the 'uData' array in a loop as I wanted.

Thanks
GeneralRe: Initialised data in C structures using C# Pin
Not Active19-Jan-04 9:04
mentorNot Active19-Jan-04 9:04 
GeneralRe: Initialised data in C structures using C# Pin
Heath Stewart19-Jan-04 9:06
protectorHeath Stewart19-Jan-04 9:06 
GeneralRe: Initialised data in C structures using C# Pin
Not Active19-Jan-04 9:35
mentorNot Active19-Jan-04 9:35 
GeneralSerial port comms Pin
tim_mid19-Jan-04 3:11
tim_mid19-Jan-04 3:11 
GeneralRe: Serial port comms Pin
troels_sorensen19-Jan-04 4:15
troels_sorensen19-Jan-04 4:15 
GeneralURGENT...problem with Windows Media Player ! Pin
pahluwalia19-Jan-04 2:54
pahluwalia19-Jan-04 2:54 
GeneralRe: URGENT...problem with Windows Media Player ! Pin
Not Active19-Jan-04 2:57
mentorNot Active19-Jan-04 2:57 
GeneralRe: URGENT...problem with Windows Media Player ! Pin
Heath Stewart19-Jan-04 4:39
protectorHeath Stewart19-Jan-04 4:39 
GeneralIncrease Printing Speed Pin
Shaun Becker19-Jan-04 2:16
Shaun Becker19-Jan-04 2:16 
GeneralRe: Increase Printing Speed Pin
Not Active19-Jan-04 2:33
mentorNot Active19-Jan-04 2:33 
GeneralRe: Increase Printing Speed Pin
Shaun Becker19-Jan-04 3:02
Shaun Becker19-Jan-04 3:02 
GeneralRe: Increase Printing Speed Pin
troels_sorensen19-Jan-04 4:18
troels_sorensen19-Jan-04 4:18 
GeneralGetting network &amp; computer names Pin
Ashraf Alsadiq19-Jan-04 1:51
Ashraf Alsadiq19-Jan-04 1:51 
GeneralRe: Getting network &amp; computer names Pin
Heath Stewart19-Jan-04 4:37
protectorHeath Stewart19-Jan-04 4:37 
GeneralRe: Getting network &amp; computer names Pin
Ashraf Alsadiq19-Jan-04 18:13
Ashraf Alsadiq19-Jan-04 18:13 
GeneralTRACE Pin
bouli19-Jan-04 1:27
bouli19-Jan-04 1:27 
GeneralRe: TRACE Pin
Colin Angus Mackay19-Jan-04 1:44
Colin Angus Mackay19-Jan-04 1:44 

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.