lundi 11 mai 2015

Using list item contents as string name

I'm using C# and making lists from sqlite query responses.

List1 contains a field with the name of a field in list2

List1[i].field = fieldname

I want to use the fieldname stored in List1[i].field to access an item in List2 something like:

List2[ii].+List1[i].field+

I have no idea if this is possible in this way in C# i'm relatively new to it and essentially going off my knowledge of PHP where something like this does work.





Aucun commentaire:

Enregistrer un commentaire