コード例 #1
0
 /// <summary>
 /// Creates a recordset object, creates a command object and opens the recordset
 /// with the command.
 /// </summary>
 /// <param name="oCmd"></param>
 private void OpenRecordset(ADODB.Command oCmd)
 {
     oRs = new ADODB.RecordsetClass();
     oRs.GetType().InvokeMember("Open", BindingFlags.InvokeMethod, null, oRs, new object[] { oCmd });
 }