| 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
| ID | Name |
| 1 | Jose |
| 2 | Jayan |
| 3 | Jinas |
| 4 | Jasmin |
| 1 |
| 2 |
| 4 |
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Mar 21, 2017, 5:58 AM
Ramesh PalanivelPosted Mar 21, 2017, 3:42 AM
Ramesh PalanivelPosted Mar 21, 2017, 3:18 AM
Mohammed AshrafPosted Mar 21, 2017, 3:14 AM
Amit GuptaPosted Mar 21, 2017, 3:06 AM
Mohammed AshrafPosted Mar 21, 2017, 3:05 AM
Ramesh PalanivelPosted Mar 21, 2017, 2:59 AM