Example 3. Printing the whole table from left to right

Top  Previous  Next

private void Table1_ManualBuild(object sender, EventArgs e)

{

  // printing column 0 and all of its rows

  Table1.PrintColumn(0);

  Table1.PrintRows();

 

  // printing column 1 and all of its rows

  Table1.PrintColumn(1);

  Table1.PrintRows();

 

  // printing column 2 and all of its rows

  Table1.PrintColumn(2);

  Table1.PrintRows();

}

 

As a result, the following table will be printed, which does not differ from the template:

 

tableExample1