在MVC 5中添加表扩展/收缩复选框 [英] Add A Table Expanding/Contracting Checkbox in MVC 5

查看:75
本文介绍了在MVC 5中添加表扩展/收缩复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SQL Server Local DB的基本键值表。如果选择/未选中,我想添加一个扩展(和收缩)表格的复选框。



开始:



添加价格与双方:[未选中复选框]



煎饼:$ 4.00

华夫饼:$ 5.00

b / b
双面加入价格:[勾选复选框]



煎饼:$ 4.00

香肠煎饼:$ 5.00

华夫饼:$ 5.00

Waffles With Sausage:$ 6.00



您可以提供任何帮助,我们将不胜感激。谢谢!

I have a basic key value table from a SQL Server Local DB. I would like to add a checkbox which expands (and contracts) the table if selected/unselected.

Start:

Add Prices With Sides: [unchecked checkbox]

Pancakes: $4.00
Waffles: $5.00

Add Prices With Sides: [checked checkbox]

Pancakes: $4.00
Pancakes With Sausage: $5.00
Waffles: $5.00
Waffles With Sausage: $6.00

Any help you could offer would be appreciated. Thanks!

推荐答案

4.00

Waffles:
4.00
Waffles:


5.00



添加价格与双方:[选中复选框]



煎饼:
5.00

Add Prices With Sides: [checked checkbox]

Pancakes:


4.00
香肠煎饼:
4.00
Pancakes With Sausage:


这篇关于在MVC 5中添加表扩展/收缩复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆