|
@@ -2159,8 +2159,6 @@ namespace OTSIncAReportGrids
|
|
|
particlesAll.Rows.RemoveAt(i);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -2172,7 +2170,20 @@ namespace OTSIncAReportGrids
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- DisplayData();
|
|
|
+ RecordCount = recordCount - dgV_ParticlesDevidePage.SelectedRows.Count;
|
|
|
+ lblTotalCount.Text = RecordCount.ToString();
|
|
|
+ foreach (DataGridViewRow Row in dgV_ParticlesDevidePage.SelectedRows)
|
|
|
+ {
|
|
|
+ dgV_ParticlesDevidePage.Rows.Remove(Row);
|
|
|
+ }
|
|
|
+ if(dgV_ParticlesDevidePage.Rows.Count==0)
|
|
|
+ {
|
|
|
+ DisplayData();
|
|
|
+ }
|
|
|
+ for(int j=0;j< dgV_ParticlesDevidePage.Rows.Count;j++)
|
|
|
+ {
|
|
|
+ dgV_ParticlesDevidePage.Rows[j].Cells[0].Value = (pageSize * (PageIndex - 1) + j + 1).ToString();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|