Converts a .NET-style format string into an Excel format string.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public static string FormatDotNetToXL(
	string fmt,
	Type dataType
)
Visual Basic
Public Shared Function FormatDotNetToXL ( _
	fmt As String, _
	dataType As Type _
) As String

Parameters

fmt
Type: System..::..String
.NET-style format to convert.
dataType
Type: System..::..Type
Data type to be formatted.

Return Value

An Excel-style format string.

See Also