Hello.

I have a combo box that I would like to populate with all
the data types that the .net framework supports (String,
Int, DataSet etc).

Is there any way that this can be done dynamically?

Cheers all,

Jon

Re: Reurning Data Types by Jon

Jon
Wed Jul 16 05:43:16 CDT 2003

Cheers 100, much appreciated.

>-----Original Message-----
>
>Hi John,
>Yes, you can. You can reflect on the assemblies and
extract all sclasses
>which have ValueType for a base class. You can populate
the combobox with
>enums as well. Look for base class Enum. For DataSet you
can look for
>MarshalByValueComponent for a base class. You can
consider only assemblies,
>which you are interested of like: mscorlib.dll for
primitive types as Int32,
>system.data.dll for DataSet and so on.
>
>HTH
>B\rgds
>100
>"Jon Yates" <DontSpam@me.com> wrote in message
>news:083c01c34ab9$8df6c1f0$a601280a@phx.gbl...
>> Hello.
>>
>> I have a combo box that I would like to populate with
all
>> the data types that the .net framework supports (String,
>> Int, DataSet etc).
>>
>> Is there any way that this can be done dynamically?
>>
>> Cheers all,
>>
>> Jon
>
>
>.
>