Word .NET > Tutorial > Page number and total pages fields

The example shows you how to insert pge number and total pages fields in the footer.

C# example
VB example