Couple of problems here. First the variable dd is out of scope of your Submit_Click method. (I am assuming the code where you populate the array is in another method, the Page_Load perhaps?) Since you are dynamically creating teh controls I can see why you keep building them, my suggestion would be to make dd a class level variable so that it has scope to all of the methods in your class.
Second, your loop won't achieve what you want it to. You should change your code to:
selvalue = selvalue & Session("dd" & dd
(i).id) & ":"
hth.
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========