stackOverflow 0 Junior Poster

Hi,

I've got a module where i search for a candidate with his Id and display his name, age..etc..

I've put the details like name , age etc.. in the datagrid.

The search module is working fine.. when a valid candidate Id is entered.

But when an invalid ID is entered... an empty datagrid is displayed.(obviously)

How can i validate for a non existing ID?

Backend used is MS SQL.
Frontend VB.NET

I didn't know where to post this thread VB.NET, ASP.NET or SQL! Hope I'm in the right place.

Thank You.