DataTable Excel

摘要: 这里是使用Microsoft.Office.Interop.Excel类进行Excel表格操作,核心代码就这些了。麻烦的是服务器上的一些关于access的权限配置。 string file = System.AppDomain.CurrentDomain.BaseDirectory + "对账单\\" + filename; if (ExcelHelper.DataTableToCSV(dt, file + System.Web.HttpContext.Current.Session["us_Name"] + ".csv", new 阅读全文
posted @ 2011-12-13 11:36 飞舞的蒲公英 阅读(430) 评论(0) 推荐(0)

使用jQuery Autocomplete(自动完成)插件

摘要: jQuery的Autocomplete(自动完成、自动填充)插件有不少,但比较下来我感觉,还是bassistance.de的比较强大,我们就来写一些代码感受一下。最简单的Autocomplete(自动完成)代码片段123456789<script type="text/javascript">var websites = [ "Google","NetEase", "Sohu", "Sina", "Sogou", "Baidu", " 阅读全文
posted @ 2011-12-13 09:19 飞舞的蒲公英 阅读(1746) 评论(0) 推荐(0)