摘要:        
IList list = (IList)dataGridView1.DataSource; list.RemoveAt(dataGridView1.CurrentRow.Index); dataGridView1.DataSource = null; dataGridView1.DataSource    阅读全文
        
            posted @ 2023-07-25 16:14
simadi
阅读(572)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
使用CellContentClick事件,然后使用EditedFormattedValue属性 private void compGridView_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnI    阅读全文
        
            posted @ 2023-07-25 15:25
simadi
阅读(118)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
1.选择要编辑的列》外观》DefaultCellStyle 2.CellStyle生成器》行为》Format》三个点 3.选择日期时间》选择需要的时间格式    阅读全文
        
            posted @ 2023-07-25 12:03
simadi
阅读(162)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号