now i am trying to make a website for online registration for this kindle help me with c# code for taking last moth or last year report from a gridview,i am using sql express as back end
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ram Sagar MouryaPosted Feb 4, 2014, 2:57 AM
then you write a query to get the data based on the RegistrationDate.
for eg:
To get the user's list for the last year.
Select * from RegistrationTable where YEAR(RegistrationDate) = YEAR(GETDATE()) - 1
in the same way try to figure out how to get last months registered user's list