摘要: 推荐一款我最喜欢的Bootstrap主题: 我的应用地址:http://114.242.17.65:8022/ 官方地址:http://centaurus.adbee.technology/ 阅读全文
posted @ 2016-07-22 11:06 nogodsend 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 获取网站根目录的方法有几种如:Server.MapPath(Request.ServerVariables["PATH_INFO"]) Server.MapPath("/") Server.MapPath("")Server.MapPath(".") Server.MapPath("../") Server.MapPath("..") Page.Request.ApplicationPath以上的代码在http://localhost/English 阅读全文
posted @ 2011-10-11 13:03 nogodsend 阅读(1313) 评论(0) 推荐(0) 编辑
摘要: 首先添加Com中的Excel插件。要在服务器安装Office。本例中是Office 2003实现例子:namespace Demo{ public partial class WebForm1 : System.Web.UI.Page { ExcelEdit.ExcelEdit excel = new ExcelEdit.ExcelEdit(); protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) ... 阅读全文
posted @ 2011-10-07 14:31 nogodsend 阅读(366) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using Microsoft.Office.Core;using Microsoft.Office.Interop.Excel;namespace ASS.Utility{ public class ExcelEdit { private string myFileName; public string MyFileName { get { return myFileName; } set { 阅读全文
posted @ 2011-10-07 14:22 nogodsend 阅读(262) 评论(0) 推荐(0) 编辑
摘要: //用于DataGridView和excel进行互操作的C#类// 文件名: Excel2DataGridView// 文件功能描述: C#中DataGridView控件和Excel互访问类,// 当前版本:V1.0.0////----------------------------------------------------------------*//* public string mFilename; public Excel.Application app; public Excel.Workbooks wbs; public Excel.Workbook wb; public E 阅读全文
posted @ 2011-10-07 14:15 nogodsend 阅读(707) 评论(0) 推荐(0) 编辑
摘要: //------------------------------------------------------------//有緣无分的愛,终于和你失散在人海...过去的一点一滴,原来什么都不是//------------------------------------------------------------//ExcelEdit//Excel表格各种操作方法,可用于复杂报表//2011.07.17版本:1.0沙罗曼蛇创建//修改记录:// #region[ExcelEdit操作类]///<SUMMARY>///ExcelEdit的摘要说明//引入Excel的COM组件/ 阅读全文
posted @ 2011-10-07 14:08 nogodsend 阅读(399) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Xml;using System.Data.OleDb;using System.Collections;namespace Anboo.Steel.Utility{ /// <summary> /// The AccessHelper class is intended to encapsulate high performance, scalable best practices for /// common uses of SqlClient /// </summary> pu 阅读全文
posted @ 2011-10-01 00:40 nogodsend 阅读(205) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Data.OracleClient;using System.Collections;namespace Anboo.Steel.Utility{ /// <summary> /// The OracleHelper class is intended to encapsulate high performance, scalable best practices for /// common uses of OracleClient. /// </summary> public s 阅读全文
posted @ 2011-10-01 00:37 nogodsend 阅读(363) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Xml;using System.Data.SqlClient;using System.Collections;namespace Anboo.Steel.Utility{ /// <summary> /// The SqlHelper class is intended to encapsulate high performance, scalable best practices for /// common uses of SqlClient /// </summary> p 阅读全文
posted @ 2011-10-01 00:27 nogodsend 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 昨天在网上看到了微软发布了.NET 3.5框架下的图表控件,第一时间抓下来看了一下,发觉功能很强劲,基本上能想到的图表都可以使用它绘制出来,给图形统计和报表图形显示提供了很好的解决办法,同时支持Web和WinForm两种方式,不过缺点也比较明显,只能在最新的开发环境中使用,需要.Net 3.5 Sp1以及VS 2008的开发环境。下面是下载地址: 控件:Microsoft .NET Framework 3.5 的 Microsoft 图表控件(Microsoft Chart Controls for Microsoft .NET Framework 3.5)–包含英文版,中文版。上面提供的链. 阅读全文
posted @ 2011-09-26 18:42 nogodsend 阅读(222) 评论(0) 推荐(0) 编辑