看不懂几行书上的代码,请教,谢谢了
                 	
                        发表在C#图书答疑
                        2012-08-08                                                
                    		
                                                                            	
                        
                        
                    
                    
                    	是否精华
                    	是
                    	否
                    
                    
                    
                            版块置顶:
                            是
                            否
                        
                    
                                           看不懂《实战突击c#项目开发案例整合》的14章“企业进销存管理系统”的frmSelectDateTime.cs的代码片段,如下:
特别是currentAccountBook.dgvCurrentAccountList[1 - 1, i].Value.ToString()
//如果到最后一行,清除
if (i == currentAccountBook.dgvCurrentAccountList.RowCount - 1 && currentAccountBook.dgvCurrentAccountList[1, i].Value.ToString() == currentAccountBook.dgvCurrentAccountList[1 - 1, i].Value.ToString())
{
currentAccountBook.dgvCurrentAccountList[4, i].Value = null;
currentAccountBook.dgvCurrentAccountList[6, i].Value = null;
break;
}
                
        	
        
        
    特别是currentAccountBook.dgvCurrentAccountList[1 - 1, i].Value.ToString()
//如果到最后一行,清除
if (i == currentAccountBook.dgvCurrentAccountList.RowCount - 1 && currentAccountBook.dgvCurrentAccountList[1, i].Value.ToString() == currentAccountBook.dgvCurrentAccountList[1 - 1, i].Value.ToString())
{
currentAccountBook.dgvCurrentAccountList[4, i].Value = null;
currentAccountBook.dgvCurrentAccountList[6, i].Value = null;
break;
}

 
	
                                                 VIP会员
VIP会员 购物车
购物车

 私信
                         私信 
                     发表新帖
发表新帖 立即签到
立即签到 
        		  
        		 
         		 关注
关注
                  回复
 回复 支持(
                	支持( 反对(
                    反对( 
                







 
                     
                     
					 
						 
						 
						 
						