Visualizzazione dei risultati da 1 a 2 su 2

Discussione: problema con imageurl

  1. #1
    Utente di HTML.it
    Registrato dal
    Nov 2002
    Messaggi
    388

    problema con imageurl

    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

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    no potrebbe essere cosi?
    imgFoto.ImageUrl = String.Format("[img]http://localhost/EvinInfo/ausl/thumFoto.aspx?src=" + Path + "[/img]")

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.