I hope someone can help me. I have already done all the queries which I need it thanks to your forum. Can someone tell me how to make a listbox where I can use my SQL Query, but date to be puted by myself.
Example:
USE NAIM
GO
SELECT Nr_Amez, Emri, Mbiemri,ID, Shuma,data, DATEDIFF(year, date_lindja, getdate()) AS vitet
FROM tblperson_BackUp
WHERE (((data)BETWEEN'6/1/2005' AND '6/30/2005')) ORDER BY data
GO
So the date which it is between 6/1/2005 and 6/30/2005 next month will be changed and I need it that to write manualy using VB.NET.