I have view name create on HTTP post
, I want to convert that page into PDF when user click on the convert button, How to perform that, It call create action again and again wherever am click on convert button.
Asked
Active
Viewed 103 times
-2

Selman Genç
- 100,147
- 13
- 119
- 184

Arvind
- 75
- 2
- 12
-
http://stackoverflow.com/questions/1447635/linq-between-operator – Steve Jan 03 '14 at 12:52
2 Answers
0
Are you saying you wish to do something like this?
Model.Journals.Where(x =>
x.VoucherDate >= Model.BeginDate &&
x.VoucherDate <= Model.EndDate);

Ian Nelson
- 57,123
- 20
- 76
- 103
0
Query Style :
var results = from m in Model.Journals
where m.VoucherDate=> Model.BeginDate && m.VoucherDate <= Model.EndDate
select m;
Method style
var results = Model.Journals.Where(x =>
x.VoucherDate >= Model.BeginDate &&
x.VoucherDate <= Model.EndDate);

Ramesh Rajendran
- 37,412
- 45
- 153
- 234