DataView.RowFilter 问题
DataView 中有多列,按照多列进行筛选
例如:第一列是时间,第二列是地点
用DataView 进行筛选
view.RowFilter="'"+str+"'<ttime and ttime<'"+end+"'or ttime='"+str+"'and cid2 = '"+this.drpManufacuter.SelectedValue+"'";其中ttime ,cid2 为列名,str,end 为字符串变量表示时间,this.drpManufacuter.SelectedValue为一个下拉列表的选种项,这样只能把能满足时间的行过虑掉'。and cid2 = '"+this.drpManufacuter.SelectedValue+"'" 不起作用了