2012-09-30 58 views

回答

1
[HttpPost]  
public ActionResult Update(MyViewModel viewModel) 
{ 
    var isChecked = viewModel.ThePropertyUsedWithYourCheckBoxFor; 
} 

或者说,我失去的东西吗?

+0

我在我的模型中添加了一个布尔列来照顾这个...... if(template.IsChecked == true) – sagesky36

相关问题