在ASP。NET下,从一个页面提交到另一个页面,我的文件上传类型的文本框怎么得到另一个页面提交的值,我知道是用Request.QueryString["isn"]这个函数,但是不知道怎么把值放在文件上传类型的文本框里 ,谢谢了你专门文件上传的控件,我取的值放不进去啊 《type="file" name="myfile"》
myfile.? = Request.QueryString["isn"].ToString(); 

解决方案 »

  1.   

    把file控件申明成runat=server就可以给file控件赋值了.
    <input type="file" id="myfile" runat="server">
    myfile.value = Request.QueryString["isn"].ToString(); 
      

  2.   

    怎么和这个贴一模一样的问题啊,不会倒吧!!!http://community.csdn.net/Expert/topic/3515/3515864.xml?temp=.9611627
      

  3.   

    http://community.csdn.net/Expert/topic/3515/3515740.xml?temp=.5118677
    http://community.csdn.net/Expert/topic/3515/3515859.xml?temp=.5419733
    http://community.csdn.net/Expert/topic/3515/3515864.xml?temp=.3195459
    http://community.csdn.net/Expert/topic/3515/3515922.xml?temp=9.379214E-02
    何止一个^O^楼主执着,望早日得解!
      

  4.   

    http://community.csdn.net/Expert/topic/3515/3515864.xml?temp=.3195459
    都到最后一贴了,顶到最前面去
      

  5.   

    file类型好像是只读的,不能写.
      

  6.   

    file
    这个就是只读的你如果赋值的话反而会出错
      

  7.   

    你可以换个控件试试,或者自己写个控件继承file