See postings on here:Dynamically create objects, set value and call