面朝大海,春暖华开

focus on scientific computue, 3dgis, spatial database
专注于科学计算、GIS空间分析

 

2012年12月28日

[转].NET平台下的Excel编程|C#操作Excel|Application和ApplicationClass的联系和区别

摘要: 出处:http://hi.baidu.com/st_heping/blog/item/d589e7225acbcd589822ed12.htmlUnderstanding Office Primary Interop Assembly Classes and InterfacesOffice 20030 out of 6 rated this helpful-Rate this topicUnderstanding Office Primary Interop Assembly Classes and InterfacesThe Office Primary Interop Assemblie 阅读全文

posted @ 2012-12-28 23:26 风过 无痕 阅读(3209) 评论(0) 推荐(0) 编辑

[转]寻找SqlHelper

摘要: *这是一篇关于寻找SqlHelper的文章,不涉及介绍,仅仅是为了简单说明SqlHelper和我的寻找过程。记得以前得到过一个原版的Sqlhelper.cs类,只是现在怎么也找不到了,记得以前是到微软下载官方企业库,然后安装上后找的(还是从网上下载的)。现在说明一下关于这个东东,省的以后再麻烦。微软的确发布过SqlHelper类库,但是在很久之前了,找到官方的了,名字叫DataAccessApplicationBlock,下载地址:http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=435下载后解压,然 阅读全文

posted @ 2012-12-28 22:13 风过 无痕 阅读(2232) 评论(0) 推荐(3) 编辑

ACCESS通用操作数据类

摘要: public classAccessHelp{private string ConnStr;public Class(){ConnStr = "provider=Microsoft.Jet.OLEDB.4.0; Data Source=";ConnStr += System.Web.HttpContext.Current.Request.PhysicalApplicationPath + ConfigurationSettings.AppSettings["AccessDB"];}public DataSet DataSet(string Tablena 阅读全文

posted @ 2012-12-28 22:07 风过 无痕 阅读(199) 评论(0) 推荐(0) 编辑

<转载>OleDb操作Access数据库:新增记录时获取自动编号的主键值

摘要: //打开数据库的一般方法OleDbConnection cnn =newOleDbConnection(sCnn);cnn.Open();DataTable table =newDataTable();try{OleDbCommand cmd =newOleDbCommand(sCommand, cnn);cmd.CommandType = cmdType;//构建DataAdapterOleDbDataAdapter adapter =newOleDbDataAdapter(cmd);//填充数据table =newDataTable(sDataTableName);adapter.Fill 阅读全文

posted @ 2012-12-28 22:03 风过 无痕 阅读(499) 评论(0) 推荐(0) 编辑

导航

向日葵支付宝收钱码