Hello,
you should first instasiate your object,
then use reflection for getting proper values,
I didn't get exactly what you wanted,so have a look at this example..
Code:
Type type=typeof(System.Data.DataTable);
object o=System.Activator.CreateInstance(type);
System.Reflection.PropertyInfo pf=type.GetProperty("TableName");
pf.SetValue(o,"NewName",null);
object s=pf.GetValue(o,null);
textBox1.Text=s.ToString();
as you see I make a DataTable (
object o=System.Activator.CreateInstance(type);) then i.e I wanted its TableName property so I wrote
System.Reflection.PropertyInfo pf=type.GetProperty("TableName");...and set and get that property at runtime
sorry I don't know
VB.NET that much,send feedback if you have any problem
_____________
Mehdi.
software student.