Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Typeof
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Typeof
Divers
Thread ID:
00966347
Message ID:
00966347
Vues:
50
if have an Arraylist filled with structs and the struct is:
public struct myTables
{
   Type DsType; // Contains the System.Type of the strongly typed dataset
   DataSet Data; // Contains the dataset
}

// the code that fills the list
this.List.Add( new MyTables(typeof(MyTable1), MyTable1) );
Now i want to get a dataset from this arraylist and cast it to it's base type, how would i do that.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform