Si il problema è quello ...
... and the winner is...SEMPRE TU...grande
evidentemente bisogna anche saper cercare
cmq a chi possa servire scrivo che non occorre un button per fare l'insert/update...
da quello che vedo basta usare il command button che di default ti da il detailsview....invece io facevo:
Private Function FindControl(parent As Control, id As String) As Control
For Each child As Control In Parent.Controls
Dim childId As String = String.Empty
If child.ID IsNot Nothing Then
childId = child.ID
End If
If childId.ToLower() = ID.ToLower() Then
Return child
Else
If child.HasControls() Then
Dim response As Control = FindControl(child, ID)
If response IsNot Nothing Then
Return response
End If
End If
End If
Next
Return Nothing
End Function
Protected Sub Button4_Click(sender As Object, e As EventArgs)
Dim fu As FileUpload = DirectCast(FindControl(DetailsView1, "FileUpload1"), FileUpload)
' If fu IsNot Nothing Then
If fu.HasFile Then
SqlDataSource1.Insert()
End If
' End If
End Sub
...non sai quanto ho cercato in rete per capire cosa diavolo voleva...
...ciao Ale e grazie ancora