DataStringFormatSQL(String, DataRow) Method

Converts a format string with field names to a string with SQL values.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string StringFormatSQL(
	string format,
	DataRow row
)

Parameters

format  String
Format string (for example: "Name = {Name} and Age = {Age}").
row  DataRow
Data row.

Return Value

String
String with the value result (for example: "Name = 'John' and Age = 45).

See Also