You can change the Grid’s RowCount and ColCount properties by using the designer. Set these properties after calling InitializeComponent in the form’s constructor or anytime later in your code using the following code example.
Using direct properties
The events QueryRowCount and QueryColCount are used to set the count for rows and columns.
The following screenshot illustrates the output.
Figure 1: Setting the row, col count using QueryRowCount, QueryColCount events
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.