摘要: public static string getUControlHtml(string controlName) { StringBuilder build = new StringBuilder(); HtmlTextWriter htmlWriter = new HtmlTextWriter(new StringWriter(build)); UserControl uc = new UserControl(); Control ctrl = uc.LoadControl(controlName + ".ascx");/... 阅读全文
posted @ 2013-08-16 11:05 一千零一夜 阅读(232) 评论(0) 推荐(0) 编辑