10 2005 档案

摘要:前期准备如下: /**//*插入30万条记录模拟分页操作*/create table Table_A( [Guid] [nvarchar] (40) NOT NULL DEFAULT (newid()), Client_ID nvarchar(8), Client_Name nvarchar(8), Client_Age int)select * from Table_A... 阅读全文
posted @ 2005-10-28 12:55 jhtchina 阅读(542) 评论(0) 推荐(0)
摘要:1if 2exists 3( 4select * 5from dbo.sysobjects 6where id = object_id(N'[dbo].[t]') and OBJECTPROPERTY(id, N'IsUserTable') = 1 7) 8drop table [dbo].[t] 9GO 10 11CREATE TABLE [dbo].[t] ( 12... 阅读全文
posted @ 2005-10-26 15:58 jhtchina 阅读(406) 评论(0) 推荐(0)
摘要:来自:http://www.chinaitpower.com/A200508/2005-08-07/186387.html 初始设置 首先,我们需在应用系统中安装SQL Server 2000,Microsoft OLE DB Provider for SQL Server (SQL OLE DB)也会同时被自动安装,接着用SQL Server的Enterprise Manager创建一个叫ty... 阅读全文
posted @ 2005-10-25 22:35 jhtchina 阅读(297) 评论(0) 推荐(0)
摘要:CREATE function dbo.f_split(@SourceSql varchar(8000),@StrSeprate varchar(10))returns @temp table(sqlstr varchar(100))--实现split功能 的函数--date :2005-5-30--Author :as begin declare @i int set @S... 阅读全文
posted @ 2005-10-17 11:45 jhtchina 阅读(1010) 评论(0) 推荐(0)
摘要:(1)Dev控件GridControl 的使用 1、确认当前正在编辑的单元格的输入this.gridview1.CloseEditor(); 2、保存当前行的值到数据源this.gridview1.UpdateCurrentRow(); 3、通过数据适配器把修改更新到数据库sqlDataAdapter1.Update(myDataSet, "MyTable")//此时直接通过DataAdapter... 阅读全文
posted @ 2005-10-11 15:49 jhtchina 阅读(5293) 评论(2) 推荐(0)
摘要://把Jpg文件保存为Xml文件 /**//*--------------------------------------------*/ try { XmlDocument myXmlDoc = new XmlDocument(); myXmlD... 阅读全文
posted @ 2005-10-11 15:37 jhtchina 阅读(4815) 评论(0) 推荐(0)