I have passed parameter as object in a method. when i pass dropdownlist in object, how to convert it into dropdownlist type???
reply soon
I have passed parameter as object in a method. when i pass dropdownlist in object, how to convert it into dropdownlist type???
reply soon
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
AlanRank #669 · 3.6K reputationPosted Oct 10, 2008, 1:11 AM EDT
Just cast it:
DropDownList ddl = (DropDownList)objParameter;