7
Reply

SQL Server Query to select items which not in a listbox

Mohammed Ashraf

Mohammed Ashraf

Mar 21 2017 2:34 AM
197
 ID Name
 1    Jose
 2 Jayan
 3 Jinas
 4 Jasmin
I have a table in sql server. And I made a ListBox in windows Form application.
 1
 2
 4
 
 I want to select names of which ID not shown in the ListBox by using 'not in' statment.
 
Please help 
 

Answers (7)