Unable To set row visible false of a datagridview

后端 未结 6 1627
北荒
北荒 2020-11-27 05:55

I have a DataGridView where I set DataSource:

taskerEntities te = new taskerEntities();
var OMsMasterDescriptiveIndicators = te.MyT         


        
6条回答
  •  盖世英雄少女心
    2020-11-27 06:55

    Maybe a little late to answer this topic but I suggest you to use DataTable.DefaultView.RowFilter property to filter what you need to show on the bounded DataGridView. Please check the following link for more informtion: https://docs.microsoft.com/en-us/dotnet/api/system.data.dataview.rowfilter?redirectedfrom=MSDN&view=netframework-4.8#System_Data_DataView_RowFilter

    regards.

提交回复
热议问题