Hi Pritam,
Your syntax is wrong, just use .Skip(skipRecord)
without <int>
.
Also, I think you have a mistake in your where condition, because you convert data property to string and then tries to compare strings with between operator, but it may return you a wrong result. Just do not use convert there. And try to avoid string where conditions, because it's too easy to make mistake. Use WhereCondition class to build your where condition, example :
.Where(
new WhereCondition()
.WhereGreaterOrEquals("StartDate", todayDate)
.WhereLessOrEquals("StartDate", endOfTheDay)
.Or(new WhereCondition()
.WhereGreaterOrEquals("EndDate", todayDate)
.WhereLessOrEquals("EndDate", endOfTheDay)
)
)