Asp.net中的HtmlInputFile是继承自HtmlInput的一种客户端控件,下面,我们自定义一个WebControl以实现HtmlInputFile一样的功能的控件。
  1将HtmlInputFile改为服务器控件using System;
  2将HtmlInputFile改为服务器控件using System.Drawing;
  3将HtmlInputFile改为服务器控件using System.Drawing.Design;
  4将HtmlInputFile改为服务器控件using System.Web.UI;
  5将HtmlInputFile改为服务器控件using System.Web;
  6将HtmlInputFile改为服务器控件using System.Text;
  7将HtmlInputFile改为服务器控件using System.Web.UI.WebControls;
  8将HtmlInputFile改为服务器控件using System.Web.UI.HtmlControls;
  9将HtmlInputFile改为服务器控件using System.ComponentModel;
 10将HtmlInputFile改为服务器控件using System.ComponentModel.Design;
 11将HtmlInputFile改为服务器控件
 12将HtmlInputFile改为服务器控件namespace FaibClass.WebControls
 13

相关文章: