Last post Jul 22, 2014 06:33 PM by A2H
Jul 22, 2014 06:25 PM|null_name|LINK
SqlCommand cmd = new SqlCommand("Select * from books WHERE bookid <> 'c++' order by ID desc", con);
can any one tell me whats the use of this symbol <> ?
Jul 22, 2014 06:33 PM|a2h|LINK
It means 'not equal to'. This will filter out the records which is not equal to your where condition
If you look at the above query you are trying to get the details of book from books table where the book id is not equal to 'c++'
You can see a
Sample Demo here