Dim dv As DataView = New DataView(CurrentEx.AppContext.LoginInfoData.LoginData.CODE_INFO) Dim dt As New DataTable dv.RowFilter = "D_KBN_KBSHUBETUID = '0023'" dt.Merge(dv.ToTable()) If dt.Rows.Count > 0 Then cboIdoukb.Init(dt,True,dt.Columns("D_KBN_KBNDISPCD"),dt.Columns("D_KBN_KBNM")) End IfRowFilter可以筛选DataView中某一字段值为某个值时的数据 原文链接:https://www.f2er.com/vb/257654.html