> Hey Everyone,
>
[quoted text clipped - 15 lines]
> It's acting like dtCustomerInfo.DefaultView.RowFilter = "CustomerID= "
> + CStr(intCustomerID) is of type Boolean instead of DataView.
On line 3, you are assigning something to dvCustomerInfo. What are you
assigning? The entire expression on Line 4, which is a comparison of the
RowFilter of the default view to the string "CustomerID= " +
CStr(intCustomerID). A boolean, in other words.
If you want a new view (good idea), then do
Dim dvCustomerInfo As DataView = New DataView(_dtCustomerInfo)
You can then set the RowFilter property of the new view:
dvCustomerInfo.RowFilter = "CustomerID= " + CStr(intCustomerID)
One thing at a time, in other words.