日期:2014-05-18  浏览次数:20416 次

HtmlInputFile问题
protected void ButSave_Click(object sender, EventArgs e)
  {
  //File1.Value= "test/images.gif";
  File1.Attributes["value"] = "test/images.gif";
  }
结果都不行,请问如何给HtmlInputFile负值

------解决方案--------------------
File1 是什么?
------解决方案--------------------
不能直接赋值,只能是当用户选择后才有的