try

Code:
If TypeOf FormView7.Controls.Item(x) Is TextBox Then

dim mm as textbox = directcast (formview7.control.item(x), textbox)
mm.text = ""

                    End If

this should help !!!