摘要: 消息: Sys.WebForms.PageRequestManagerServerErrorException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).在asp.net程序中用到了导入、导出excel 在调试的时候没有问题,能够正常导入 阅读全文
posted @ 2012-10-09 14:57 偶不是大叔 阅读(3260) 评论(0) 推荐(0) 编辑
摘要: Chart1.DataSource = dtb; string[] strcolor = new string[20]; strcolor[0] = "220, 224, 64, 10"; strcolor[1] = "220, 252, 180, 65"; strcolor[2] = "220, 159, 100, 100"; strcolor[3] = "220, 5, 100, 146"; strcolor[4] = "91,42,0"; ... 阅读全文
posted @ 2012-10-09 14:16 偶不是大叔 阅读(12505) 评论(1) 推荐(0) 编辑
摘要: gdvSaleVoucher.Columns.Clear(); DataTable dt = new DataTable(); string strSql = @"select [level] from dbo.Film_FilmRelation group by [level] order by [level] desc "; using (SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrin... 阅读全文
posted @ 2012-10-09 14:10 偶不是大叔 阅读(288) 评论(0) 推荐(0) 编辑