DataStringFormat(String, DataRow, CultureInfo) Method
Converts a format string with field names to a string with values
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string StringFormat(
string format,
DataRow row,
CultureInfo culture = null
)
Public Shared Function StringFormat (
format As String,
row As DataRow,
Optional culture As CultureInfo = Nothing
) As String
- format String
- Format string (for example: "Name and age: {Name} - {Age:000} years").
- row DataRow
- Data row.
- culture CultureInfo (Optional)
- Culture to use for the format.
StringString with the value result (for example: "Name and age: John - 045 years").