How to use the DataView 's RowFillter ?

  • Thread starter Thread starter Kylin
  • Start date Start date
K

Kylin

If I want to use two fields in the RowFillter,
like under code ?
view.RowFillter="ID='"+xxStr+"' "+"Country='"+xxxStr+"' "
 
Kylin
view.RowFillter="ID='"+xxStr+"' "+"Country='"+xxxStr+"' "

I don't know what kind of program language this is written in.

Therefore
view.Rowfilter = "ID='" & xxStr & " AND Country='" & xxxStr &"'"
In VBNet code and

view.Rowfilter = "ID='" + xxStr + " AND Country='" + xxxStr + "'";
In C# code

(When I did not make typos)

Can you next time make a recognisable code or tell what program language it
has to be.

I hope this helps,

Cor
 
yea.
thanks for your help!

Cor Ligthert said:
Kylin


I don't know what kind of program language this is written in.

Therefore
view.Rowfilter = "ID='" & xxStr & " AND Country='" & xxxStr &"'"
In VBNet code and

view.Rowfilter = "ID='" + xxStr + " AND Country='" + xxxStr + "'";
In C# code

(When I did not make typos)

Can you next time make a recognisable code or tell what program language it
has to be.

I hope this helps,

Cor
 
Back
Top