GST Billing Software

header image

Set Count to a Grid

Erachana Line

24. How to set count to a Grid?

To add Count to a grid, a Count Expression is created which contains the following code, to change the count label and it is associated to New, Delete, Save (Default Buttons) or any other buttons on the Form.

lblCount.Text = "Count : " + dgrData.Rows.Count;