Hi,
I need to add a custom object as a parameter to my objectdatasource. Does anyone knows how?
It is OK with Boolean, String, Int and can be used as this:
odsEDatabases.SelectParame
ters["edit
Mode"] = new Parameter("editMode", TypeCode.Boolean, editMode.ToString());
Bu how to do it with an Object. This does not work:
odsEDatabases.SelectParame
ters["busi
nessSector
"] = new Parameter("businessSector"
, TypeCode.Object, new BusinessSector(int.Parse(d
dlBusiness
Sectors.Se
lect edValue));
Start Free Trial