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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Oct 10, 2008, 5:11 AM
Just cast it:
DropDownList ddl = (DropDownList)objParameter;