Teo,
>under enter a sql statement, I type
>
>SELECT id, po, item, cusid, `date`,lorryno
>FROM product
>WHERE cusid = @cusid
>
>
>.NET prompt me error. what should I do with above sql statement.
>
What is the error you are getting? It looks like @cusid is a parameter but I don't see your code to go with this. What is the rest of the story?
Tim
Timothy Bryan