Hi,
You can use "in" available in sql server like this
Select Name, Age from Table1 where Class in ('1st', '2nd') and Date between #"+1st_Date.ToString() +"# and #"+2nd_Date.ToString() +"# .
or you can use "and" "or" operator like this
Select Name, Age from Table1 where Class ='1st' or class='2nd' and Date
between #"+1st_Date.ToString() +"# and #"+2nd_Date.ToString() +"# .
Hope this will help you