quanto non sai fare?

in soldoni l'approccio che mi sembra piu' adatto è:

uploadi le foto in una cartella quando inserisci il prodotto e salvi il nome del file sul record del database

Codice PHP:
protected void Inserisci(object senderEventArgs e)
        {
            if (
file_down_path.HasFile)
            {
                
Parameter path= new Parameter("path");
                
path.DefaultValue file_down_path.FileName.ToString();



                try
                {
                    
file_down_path.SaveAs("C:\\Inetpub\\wwwroot\\Negozio\\foto\\" +
                         
file_down_path.FileName);
                }
                catch (
Exception ex)
                {
                    
Session["CurrentError"] = ex.Message.ToString();
                    
Response.Redirect("Errore.aspx");

                }
            }
            else
            {
                
Session["CurrentError"] = "File non specificato";
                
Response.Redirect("Errore.aspx");
            }
        } 

quando poi leggi la tabella prendi l'immagine in un templatecolumn