I have Data table name resultDt The datas are shown below
My requirement is to get the last 3 months count of the name.
For example NewDate = today.Addmonths(-3) it will give 03-04-17.Now the NewDate is Compare to DataTable resultDt.After the NewDate I have 3 records So it Should return Count of Rows as “3”.
Can some one help me to achieve this.
Thanks in advance