摘要: select c.* from syscolumns c, sysobjects t where c.id = t.id and t.type='U' and t.name='Expros' 阅读全文
posted @ 2009-03-20 16:33 bestsaler 阅读(392) 评论(0) 推荐(0) 编辑
摘要: declare @t varchar(255),@c varchar(255) declare table_cursor cursor for select a.name,b.name from sysobjects a,syscolumns b where a.id=b.id and a.xtype='u' and (b.xtype=99 or b.xtype=35 or b.xtype=231... 阅读全文
posted @ 2009-03-20 16:29 bestsaler 阅读(136) 评论(0) 推荐(0) 编辑
摘要: select * into Expro from openrowset('Microsoft.Jet.OLEDB.4.0','D:\db\db\1.mdb';'admin';'',Content) insert into Expro select * from openrowset('Microsoft.Jet.OLEDB.4.0','D:\db\db\2.mdb';'admin';'',Co... 阅读全文
posted @ 2009-03-20 15:08 bestsaler 阅读(413) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Data.SqlClient; using System.Text; using System.Collections; using System.Windows.Forms; namespace Projects.... 阅读全文
posted @ 2009-03-20 11:42 bestsaler 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 索引器就是特殊的属性,以下是最简单的索引器例子 就是给定索引编号去找索引编号对应的值,类似属性的数组 public string this[string configName] { get { return System.Configuration.ConfigurationManager.App... 阅读全文
posted @ 2009-03-20 11:22 bestsaler 阅读(276) 评论(0) 推荐(0) 编辑