-2

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.

Selman Genç
  • 100,147
  • 13
  • 119
  • 184
Arvind
  • 75
  • 2
  • 12

2 Answers2

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