摘要:        
年份:1900——今年月份:大小月天数:是否是闰月天数 1 /// <summary>判断生日格式是否正确</summary> 2 /// <returns></returns> 3 public static bool CheckBirthDay(DateTime date) 4 { 5 int[] bigMonth = { 1, 3, 5, 7, 8, 10, 12 }; 6 int[] smallMonth = { 2, 4, 6, 9, 11 }; 7...    阅读全文
posted @ 2012-12-28 13:27
EleMMent
阅读(972)
评论(0)
推荐(0)
        
            
        
        
摘要:        
datagridview是微软在.NET2.0种加入的一个控件,很强大!在使用中我们经常需要去控制用户在该控件里面的输入,所以我们需要通过datagridview控件的EditingControlShowing事件来实现对子控件事件的绑定private void grdFamily2_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (e.Control is CalendarEditingControl ) {...    阅读全文
posted @ 2012-12-28 11:45
EleMMent
阅读(376)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号