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

C#

 
AnswerRe: Open Source SMTP server (C#) Pin
Christian Graus14-Dec-08 17:54
protectorChristian Graus14-Dec-08 17:54 
GeneralRe: Open Source SMTP server (C#) Pin
Tiger45615-Dec-08 16:53
Tiger45615-Dec-08 16:53 
Questionhow c sharp interact with asp without integrate in a webserver Pin
walile114-Dec-08 17:03
walile114-Dec-08 17:03 
AnswerRe: how c sharp interact with asp without integrate in a webserver Pin
Christian Graus14-Dec-08 17:20
protectorChristian Graus14-Dec-08 17:20 
GeneralRe: how c sharp interact with asp without integrate in a webserver Pin
walile115-Dec-08 3:44
walile115-Dec-08 3:44 
Questiondifference between appsettings and settings Pin
bhatted14-Dec-08 16:57
bhatted14-Dec-08 16:57 
AnswerRe: difference between appsettings and settings Pin
Brij14-Dec-08 17:11
mentorBrij14-Dec-08 17:11 
Questionconfiguring usb to rs-232 converter Pin
Faysal14-Dec-08 16:38
Faysal14-Dec-08 16:38 
AnswerRe: configuring usb to rs-232 converter Pin
Phil J Pearson15-Dec-08 3:15
Phil J Pearson15-Dec-08 3:15 
QuestionHow do I print the address of a reference? Pin
Shao Voon Wong14-Dec-08 16:19
mvaShao Voon Wong14-Dec-08 16:19 
AnswerRe: How do I print the address of a reference? Pin
Christian Graus14-Dec-08 17:18
protectorChristian Graus14-Dec-08 17:18 
GeneralRe: How do I print the address of a reference? Pin
Shao Voon Wong15-Dec-08 14:00
mvaShao Voon Wong15-Dec-08 14:00 
AnswerRe: How do I print the address of a reference? Pin
dan!sh 14-Dec-08 17:21
professional dan!sh 14-Dec-08 17:21 
GeneralRe: How do I print the address of a reference? Pin
Shao Voon Wong15-Dec-08 14:06
mvaShao Voon Wong15-Dec-08 14:06 
AnswerRe: How do I print the address of a reference? Pin
Guffa14-Dec-08 20:47
Guffa14-Dec-08 20:47 
GeneralRe: How do I print the address of a reference? Pin
Shao Voon Wong15-Dec-08 14:00
mvaShao Voon Wong15-Dec-08 14:00 
QuestionHow to create a jagged array of multiple data-type data? Pin
LightIceStorm14-Dec-08 14:41
LightIceStorm14-Dec-08 14:41 
How to create a jagged array of multiple data-type data?


Hallo everyone,

I need a little help in creating an array that holds this kind of data:
It should be a dynamic two dimensional array similar to a dataset in a database.
All rows of a column have the sama data type.
int string System.Drawing.Color System.Drawing.Rectangle(=Struct)
1 "TEST1" Color.Black {,,,,}
2 "TEST2" Color.Blue {,,,,}
3 "TEST3" Color.Green {,,,,}
4 "TEST4" Color.Red {,,,,}


With "dynamic" I mean that I don't need to specify the size of the array and that I can add as many rows as I like.
Even at creation time of the array I don't know how many rows it will get.
To realize this I'd like to use Lists.

I had something like this in my mind:

 public object[] [] AxisLabelItems = new object[4] [] {<br />
         new List<Int32>(), <br />
         new List<String>(), <br />
         new List<System.Drawing.Color>(),<br />
         new List<System.Drawing.Rectangle>()};


but that doesn't work: "Implicit conversion from List to object not possible"


Any suggestions?

Thanks.

PS: Why are there all the new lines above the html-table? They belong to the table somehow..?? (If I mark these lines the fields of the table get marked too.)

I've just used:
<table border="1">
   <tr>
      <th> </th>
   </tr>
   <tr>
      <td> </td>
   </tr>
</table>
AnswerRe: How to create a jagged array of multiple data-type data? Pin
Colin Angus Mackay14-Dec-08 14:48
Colin Angus Mackay14-Dec-08 14:48 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Luc Pattyn14-Dec-08 15:08
sitebuilderLuc Pattyn14-Dec-08 15:08 
AnswerRe: How to create a jagged array of multiple data-type data? [modified] Pin
Guffa14-Dec-08 15:44
Guffa14-Dec-08 15:44 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Mycroft Holmes14-Dec-08 19:26
professionalMycroft Holmes14-Dec-08 19:26 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
LightIceStorm15-Dec-08 9:57
LightIceStorm15-Dec-08 9:57 
GeneralRe: How to create a jagged array of multiple data-type data? Pin
Guffa15-Dec-08 12:03
Guffa15-Dec-08 12:03 
QuestionLoading Multiple Images to a Picture Box Pin
User 543536414-Dec-08 14:19
User 543536414-Dec-08 14:19 
AnswerRe: Loading Multiple Images to a Picture Box Pin
Christian Graus14-Dec-08 17:17
protectorChristian Graus14-Dec-08 17:17 

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.