今天需要做个excel导入导出的,小弟先搞个导出的,感觉还蛮不错很方便详细看下文:1、引入org.in2bits.MyXls.dll 这个dll引入后什么问题都简单了前台code<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="导出EXCEL" />后台code protected void Button1_Click(object sender, EventArgs e) { NewsService servic Read More
首先创建一个log4net.config的文件,在文件里面设置如下:View Code <?xml version="1.0" encoding="utf-8"?><configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> <l Read More