摘要: 前段时间遇到个很郁闷的情况,2个实体类里面的属性字段都差不多。唯一不同的就是一个类比另一个类多几个字段View Code 1 public class A 2 { 3 public int ID 4 { 5 get; 6 set; 7 } 8 public string name 9 {10 get;11 set;12 }13 public DateTime addDate14 ... 阅读全文
posted @ 2012-05-18 10:44 Tsong Chen 阅读(2044) 评论(2) 推荐(2) 编辑
摘要: Repeater 在项目中的运用很多,常见的就是 Repeater 中一个TextBox(价格) 提供给用户输入,用户输入完毕之后,乘以某个系数(汇率)然后在赋值给同行的其他 TextBox(小计)。最后一行对Repeater中所有小计进行叠加得到合计。这边是用Js/Jquery来实现。前台: 1 <table> 2 <tr><td>价格</td><td>汇率</td><td>小计</td></tr> 3 <asp:Repeater ID="Rpt" runat 阅读全文
posted @ 2012-05-18 10:15 Tsong Chen 阅读(1931) 评论(0) 推荐(1) 编辑