用户控件调用外联:
public partial class DropDownSelect : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.Page.Header.Controls.Add(new LiteralControl("<link href=/"WOODY-WU.css/" type=/"text/css/" rel=/"stylesheet/" />"));
}
}
}