Ruben_Barbosa Posted November 11, 2009 at 09:46 AM Report Share #295535 Posted November 11, 2009 at 09:46 AM É o Seguinte como faço em SQL o Seguinte: Quero que ele va da data X a Y Select * From reqfolha where Data='" & dtp1.Text & "' Union Select * From reqfolha where Data='" & dtp2.Text & "' Se fizer isto ele vai pegar no meu valor de dtp1 e de dtp2 e mostra no Datagridview. Mas o que queria era que ele fosse do valor de dtp1 to dtp2 Mostrar todos os valores de dtp1 ate dtp2 EDIT: Título melhorado. ribeiro55 Link to comment Share on other sites More sharing options...
Gooden Posted November 11, 2009 at 09:56 AM Report Share #295536 Posted November 11, 2009 at 09:56 AM http://www.w3schools.com/Sql/sql_between.asp Link to comment Share on other sites More sharing options...
Ruben_Barbosa Posted November 11, 2009 at 10:05 AM Author Report Share #295539 Posted November 11, 2009 at 10:05 AM Obrigadissimo 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now