0
[HttpGet]
public ActionResult SearchByOperator(DateTime fromdate, DateTime todate, string operatorname,int page=1)
{
List<CRBT_CALLS> operator_list = new List<CRBT_CALLS>();
using (crbt_onwebEntities dbcontext = new crbt_onwebEntities())
operator_list = (from z in dbcontext.CRBT_CALLS
where z.DOWNLOAD_TIME > fromdate && z.DOWNLOAD_TIME < todate && z.OPERATOR == operatorname
select z).OrderBy(x => x.DOWNLOAD_TIME).ToList();
이것은 내보기 페이지입니다. 내가 1, 2, 3, 페이징 링크를 클릭하고 때 보여주고있다 : 당신은 적절한 매개 변수를 포함하지 않는 같은 오류 페이지를 기반으로mvc3에서 html 테이블로 페이징
이The parameters dictionary contains a null entry for parameter 'fromdate' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.ActionResult SearchByOperator(System.DateTime, System.DateTime, System.String, Int32)' in 'mvclogin.Controllers.HomeController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters