两个代码段都不起作用。
我的专栏名称为rowspan
Shipment End
DataGridView1
和
Dim az As Date = DateTimePicker3.Value
Dim bz As Date = DateTimePicker4.Value
Me.Sheet1BindingSource.Filter = "([Shipment End]<= '" & DateTimePicker3.Value & "' and [Shipment End]>= '" & DateTimePicker4.Value & ")"