我有一个DataTable,它包含一个存储GUID为byte []的列。我想基于此列过滤掉行。任何想法,我们如何做到这一点?
//First column of the datatable is byte[] corresponding to the Raw(16) in oracle storing GUID.
DataTable myDataTable = GetAllInvoicesFromOracleDb();
Guid myRecordId = new Guid("8FAA05C8-4E14-447E-8FFA-DF4D3D5BD717");
DataRow[] foundRow = myDataTable.Select("Invoice_PK=" + myRecordId);//Invoice_PK is byte[] column and I have the GUID object