摘要:
decimal total = 0; if(book != null && book.Price.HasValue) { total = (decimal)0.01 * book.Price.Value; } //tip 0.01 应该使用(decimal)0.01进行转换,然后进行* 运算,这样可 阅读全文
posted @ 2021-07-19 23:35
♩♪♫♬
阅读(924)
评论(0)
推荐(0)
摘要:
1.var info1 = stu.split(','); 2.$("#<%= this.txtBookCode.ClientID%>").val(parseFloat(info1[1])); 阅读全文
posted @ 2021-07-19 23:26
♩♪♫♬
阅读(79)
评论(0)
推荐(0)
摘要:
<style> .labelQuantity { text-decoration:none !important; } </style> 阅读全文
posted @ 2021-07-19 23:02
♩♪♫♬
阅读(245)
评论(0)
推荐(0)
摘要:
var data = (from s in db.books join t in db.teachers on s.Auther equals t.Code where t.Name == "s1mple" select s).ToList(); 阅读全文
posted @ 2021-07-19 22:43
♩♪♫♬
阅读(76)
评论(0)
推荐(0)
摘要:
1.int search = (int) Enum.Friday; 2. var books =(from s in context.books where s.Day == search select s ).ToList(); 阅读全文
posted @ 2021-07-19 22:35
♩♪♫♬
阅读(209)
评论(0)
推荐(0)
摘要:
$(".form-control").not(".panel-update-control").prop("disabled",true); 阅读全文
posted @ 2021-07-19 21:15
♩♪♫♬
阅读(66)
评论(0)
推荐(0)
浙公网安备 33010602011771号