The best way to stop them from coming into your basement would be to seal the possible entry points such as under the door, or spaces between the house and the outside. I wouldn't recommend chemical control since more will probably continue to come in from outside to replace the ones that die off. They are unlikely to invade the rest of your house since they prefer cool, dark places to rest. Your website is very colourful and helpful. I would like to ask that what is the habitats of grasshoppers.
Grasshoppers is a name used for number fo families of related insects.
All of them look fairly similar, with long back legs that they use for jumping. They inhabit a wide variety of habitats from below sea level in the desert to above 10,000 feet on mountainsides. The diversity fo grasshoppers is also amazing, with a wide variety of forms and habits. We strongly encourage you to check out a book on insects in your local library or bookstore. They are primarily soil dwelling.