HI Amit2604
I think the problem is that u need to use FindControl for DropdownList2 before assigning it to selectedValue.. thats if it is within Formview1 too:
Dim t As TextBox
Dim selectedValue As DropDownList = FormView1.FindControl("DropDownList2")
t = Me.FormView1.Row.FindControl("TextBox1")
t.Text = selectedValue.SelectedValue
Rit
|