摘要:
Join子句据说可以实现3中连接关系。1.内部连接——元素的连接关系必须同时满足被连接的两个数据源2.分组连接3.左外连接1.最基本的,内部连接,类似于sql中inner join。 由于student类和phone类只有一个匹配的连接,因此,只返回一个id,1. public class stud... 阅读全文
posted @ 2014-07-03 15:49
Genie in the bottle
阅读(178)评论(0)推荐(0)
摘要:
特别喜欢同事看到我写了一句小排序的时候说,他当然喜欢Linq了,虽然我只是baidu之,不知其然也不知其所以然。基本格式 var = from in where orderby select 1. from & select static void Main(string[] a... 阅读全文
posted @ 2014-07-03 11:13
Genie in the bottle
阅读(669)评论(0)推荐(0)
摘要:
第一次接触RadioBttonList时候,觉得这个控件完全可以取代RadioButton,操作更加简便。直到今天,完成了一个小小的功能,才发现,尺有所短不是瞎掰的。需求如下:Add Proration Rate radio buttons.Radio button for a fixed rateSelected by defaultMeaning using HR user for calculationRadio button for Based on old logic亲爱的Radio之间隔了其他控件,于是,List毫无用武之地。只能定义Group将Radio绑在一组内。前台 1 2. 阅读全文
posted @ 2013-11-18 20:26
Genie in the bottle
阅读(1088)评论(0)推荐(0)