我已经用DbSet属性创建了一个代码优先上下文_context.Schedules.Load();所有这些都很好,当我保存如下:scheduleBindingSource.EndEdit();数据仍然存在,但是当我像这样绑定数据时:
var res = _context.Schedules.Where(k =&
我将DataGridView绑定到源代码:bdSource.DataSource = db.Girls.Wheretxt_Phone.DataBindings.Add(new Binding("Text", bdSource, "Phone"));
//.. other TextBoxes bound to the same BindingSource
当我的DataGridView是BindingSource时,我正在尝试过滤我的BindingSource。当我试图更改BindingSource中的筛选器时,只有BindingSource.Filter值会改变,但是DGV看起来仍然是一样的。如何完成对DGV的过滤?BindingSource udalosti = new BindingSource();event