#眉標=C#Builder #副標= C#Builder的企業級快速資料存取技術 #大標=建構企業級資料存取技術 #作者=文/李維   p226   ===================================== private void DoInsertLargeData() { DataRow newRow; ard = new Random(); try { for (int iCounter = 1; iCounter <= Int32.Parse(tbRecordCount.Text); iCounter++) { newRow = this.dataSet1.Tables["Table1"].NewRow(); newRow["UID"] = GetUID(); newRow["Name"] = GetName(); newRow["Phone"] = GetPhone(); newRow["Address"] = GetAddress(); newRow["Salary"] = ard.NextDouble() * 100000; newRow["aDate"] = System.DateTime.Now; this.dataSet1.Tables["Table1"].Rows.Add(newRow); this.progressBar1.Value = iCounter; this.progressBar1.Update();     this.bdpDataAdapter1.Update(this.dataSet1, "Table1"); } } catch(Exception e) { this.Text = e.Message; } }   ====================================   p230   ================================ .method public hidebysig newslot final virtual instance int32 Connect(string szDatabase, string szUser,string szPasswd, string szHost) cil managed { // Code size 221 (0xdd) .maxstack 4 .locals (int32 V_0, void*& pinned V_1, int32 V_2, int32 V_3) IL_0000: ldc.i4.0 IL_0001: stloc.0 IL_0002: ldarg.0 IL_0003: ldflda void* Borland.Data.Interbase.IBConnection::a IL_0008: stloc.1 IL_0009: ldloc.1 IL_000a: conv.i IL_000b: call int32 Borland.Data.Interbase.BdpIB::SQLAllocConnection(void**) …   ==============================   =========================== .module extern bdpint.dll .assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. .ver 1:0:5000:0 }   ==========================   p231   ========================= Exports from bdpint.dll 37 exported name(s), 37 export addresse(s). Ordinal base is 1. Sorted by Name: RVA Ord. Hint Name -------- ---- ---- ---- 00004C45 3 0000 SQLAllocConnection 00004EA0 15 0001 SQLBindCol 00004E5B 14 0002 SQLDescribeCol 00004F41 5 0003 SQLDisConnect 00004DC5 12 0004 SQLExecute 00004F6E 2 0005 SQLExit 00004F21 36 0006 SQLFreeConnection 00004EE5 17 0007 SQLFreeStatement 000062A3 26 0008 SQLGetBlob … 00012284 37 0024 ___CPPdebugHook   ==============================