I am creating a Pocket PC program for a symbol scanner. The user will be able to scan a bar code with the scanner. What I would like to do is validate the bar code against an inventory table I have in a SQL database. If the bar code does not exist then a message will be displayed otherwise it will go on from there. How can I go about doing this and what event would I do this on? Any examples would be great. Thanks.