gridView3.Columns[0].FieldName = "pis_ExpireDate";
var EXdates = DB0201.purchases_item_seriels
.Where( u => ( u.stitems_ID == ItemID
&& u.ss_StoreID == StoreID
&& (u.pis_Statues == 0 || u.pis_Statues == 5 || u.pis_Statues == 6 ) ))
.OrderBy( o => o.pis_ExpiraeDate ).Distinct().Select( a => new { pis_ExpireDate = a } )
.ToList();
gridControl3.DataSource = EXdates;
当我尝试运行此代码时出现以下错误,但我无法弄清原因:“ TypeError:只有大小为1的数组可以转换为Python标量”任何帮助将不胜感激