Click here to Skip to main content
16,012,468 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
tell me urgent i am struct at one point in the project please tell me that query ok.............
Posted
Updated 23-Jun-13 21:36pm
v2
Comments
sudipta biswas 24-Jun-13 3:50am    
Please give us more detail.
sathishvenkat 24-Jun-13 3:54am    
madam means when i was select the startdate and enddate it will display the that perrticular employee details in gridview i have database sql...........
sathishvenkat 24-Jun-13 4:05am    
no madam i am asking c# code tell me what i do sql query i known in code behind wht i do tell, me ...... thanq for before reply
sathishvenkat 24-Jun-13 4:11am    
madam i want the c# code behind just tell me what i do ......
sudipta biswas 24-Jun-13 4:15am    
What have you tried.

1 solution

Like this
SQL
select * from tblemployee where startdate> startdateVariable and enddate< enddatevariable.

startdateVariable and enddatevariable will be passed from the UI.
 
Share this answer
 
Comments
sathishvenkat 27-Jun-13 8:33am    
this is not wrking madam please send me brifly.................

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900