Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Complex filter ADO.NET

Status
Not open for further replies.

miho1

Technical User
Oct 22, 2002
78
BG
At me filter:
dv. RowFilter = " Name LIKE ' A * ' "
Also works. But when I complicate it :
dv. RowFilter = " Name LIKE ' A * ' And Year > 18 "
Shows error " Cast from string " Name Like'A * ' " to type 'Long' is not valid ".
Someone can tell where my mistake?

I shall be very grateful

Miho
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top