就是我的页面左边有两张图片,右边是一个编辑框,如果右边点保存下一页,左边的图片会改变并且这个图片就再也不会变了

解决方案 »

  1.   

    重新读一下,或者放个iframe 点保就刷一下。
      

  2.   

    document.all.ImageName.src = '新的图片路径...';
      

  3.   

    给左边图片加上id ,设id = img1 ,在右边按钮上加事件:onclick
    onclick = "img1.src='新的图片地址';"
      

  4.   

    如果不许刷新.可以用javascript.我没有现成的代码.
    如果可以刷新
      //"jpg(*.jpg)|*.jpg|bmp(*.bmp)|*.bmp";
    SaveFileDialog save = new SaveFileDialog();
    save.Filter = "所有文件|*.*";
    if(save.ShowDialog() == DialogResult.OK)
    {
    save.Filter = "*.*";
    string filePath = this.saveFileDialog1.FileName; byte[] buff = (byte[])new EquipmentManager().GetFileContent(fileID , int.Parse(this.listView1.SelectedItems[0].Tag.ToString()));
    FileStream s = new FileStream(filePath , System.IO.FileMode.Create, System.IO.FileAccess.ReadWrite);

    s.Write(buff, 0, buff.Length);
    s.Close();
    }
      

  5.   

    codeangel(-- 与人方便,自已方便 --) ( ) 信誉:103   this error....
      

  6.   

    <asp:image id="img" runat="server">
    <input type="button" id="btn" onClick="document.getElementById('img').src='路径'"/>