在接受函数里定义一个同名的接收参数,用是否为null来判断checked,之后转换为你想要的类型
[HttpPost]
public ActionResult Export(string allowinvoice)
{
byte allowinvoice = allowinvoice != null ? (byte)1 : (byte)0;
}
Action里面:
private PromotionManageTo promotionManageTo;
private List
get…
set…
SqlMaps里面:
JSP里面:
"