Dovrei costruire un photogallery col seguente codice costruisco in un datagrid le immagini il problema è che non funziona l' imageurl dal debug vedo che non riesce a caricare la pagina thumfoto (costruisce la miniatura dell' immagine) c'è qualcuno che mi sa aiutare?
------------------
Protected Function subDisplay(ByVal id As String, ByVal Path As String) As WebControls.Image
Dim foto = New WebControls.Image
foto = imagenew(id, Path)
Foto.Controls.Add(foto)
Return foto
End Function
Public Function imagenew(ByVal id As String, ByVal Path As String) As WebControls.Image
imgFoto = New WebControls.Image
imgFoto.ID = "foto" & id
imgFoto.ImageUrl = String.Format(" http://localhost/EvinInfo/ausl/thumFoto.aspx?src=" + Path + "")
Return imgFoto
End Function

Rispondi quotando