2005年8月4日
摘要: using System;using OWC;using System.IO;using System.Web;using System.Web.UI;using System.Data;using System.Data.SqlClient;using Applegold.Modules;namespace Applegold.UserManage.Modules{ /**//// ... 阅读全文
posted @ 2005-08-04 18:07 wanna 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 转载自csdn博客sunsnow8的专栏 随着“金盾工程”建设的逐步深入和公安信息化的高速发展,公安计算机应用系统被广泛应用在各警种、各部门。与此同时,应用系统体系的核心、系统数据的存放地――数据库也随着实际应用而急剧膨胀,一些大规模的系统,如人口系统的数据甚至超过了1000万条,可谓海量。那么,如何实现快速地从这些超大容量的数据库中提取数据(查询)、分析、统计以及提取数据后进行数据分页已成... 阅读全文
posted @ 2005-08-04 15:13 wanna 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 用Servers组件,如果不将控件free掉,内存里有excel.exe进程。这样会导致excel不能正常工作。下面一个function是将dataset里的数据导出excel,并保存excel表,大家有空可以加个数据统计什么的。 procedure TFrmMain.WriteExcel(AdsData: TADODataSet; sName, Title: string);var Exce... 阅读全文
posted @ 2005-08-04 14:59 wanna 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 我将查询出来的记录集倒为电子表格。 我用的是 DataAdapter 的 DataSet, 利用DataView帮定到DataGrid控件。、 利用网上现有代码, Dim xlApp As New Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet ... 阅读全文
posted @ 2005-08-04 14:10 wanna 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Posted on 2005-05-09 09:39 wssmax 阅读(353) 评论(0) 编辑 收藏 /// /// 汉字转拼音缩写 /// Code By MuseStudio@hotmail.com /// 2004-11-30 /// /// 要转换的汉字字符串 /// 拼音缩写... 阅读全文
posted @ 2005-08-04 10:08 wanna 阅读(141) 评论(0) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 01:42 wanna 阅读(699) 评论(0) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 01:35 wanna 阅读(3023) 评论(0) 推荐(0) 编辑
摘要: //------------------------------------------------------------------------------// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distributio... 阅读全文
posted @ 2005-08-04 01:32 wanna 阅读(506) 评论(1) 推荐(0) 编辑
摘要: // ==++==//// // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whic... 阅读全文
posted @ 2005-08-04 01:28 wanna 阅读(4300) 评论(2) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 01:15 wanna 阅读(681) 评论(0) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 01:07 wanna 阅读(653) 评论(0) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 01:03 wanna 阅读(420) 评论(0) 推荐(0) 编辑
摘要: // ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whi... 阅读全文
posted @ 2005-08-04 00:53 wanna 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 1// ==++== 2// 3// 4// Copyright (c) 2002 Microsoft Corporation. All rights reserved. 5// 6// The use and distribution terms for this software are contained in the file 7// ... 阅读全文
posted @ 2005-08-04 00:52 wanna 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 开发者们应该知道,使用那些非标准的SQL命令(比如Oracle、微软和MySQL等数据库系统)存在程度相当高的危险。也就是说,从跨平台和遵守标准的角度出发,你应该尽量采用ANSI SQL,它是一种和平台无关的数据库语言。不管你在使用哪种数据库系统,如果它完全支持SQL那么它就应该支持ANSI SQL-92标准。可是,“应该支持”和“确实支持”完全是两码事。在进行DBMS跨平台编程的时候,并不是所有... 阅读全文
posted @ 2005-08-04 00:35 wanna 阅读(641) 评论(0) 推荐(0) 编辑
摘要: /*从数据库提取数据*/string strconn="packet size=4096;user id=sa;data source=localhost;persist security info=True;initial catalog=Database;password=sa"; SqlConnection sqlconn=new SqlConnection(strconn); ... 阅读全文
posted @ 2005-08-04 00:32 wanna 阅读(910) 评论(0) 推荐(0) 编辑