Spreadsheet .NET > Tutorial > Insert Line

The following example shows you how to create a line.

C# example
VB example