FlexReport for WinForms
EncloseParameterValues プロパティ (DataSource)


C1.Win.FlexReport.4.5.2 アセンブリ > C1.Win.FlexReport 名前空間 > DataSource クラス : EncloseParameterValues プロパティ
生成される SQL クエリー内のパラメータの値が、日付の場合は "#"、文字列の場合は "'"、複数値パラメータの場合は "()" の区切り文字でそれぞれ囲まれるかどうかを示す値を取得または設定します。このパラメータが false の場合は、 RecordSource内のすべてのパラメータがすでに区切り文字で囲まれている必要があります。たとえば、EncloseParameterValues == true、RecordSource = "select * from customers where name = CustomerName" の場合、実際の SQL クエリーは次のようになります。select * from customers where name = 'Some customer' EncloseParameterValues == false、RecordSource = "select * from customers where name = 'CustomerName'" の場合、実際の SQL クエリーは次のようになります。select * from customers where name = 'Some customer'
シンタックス
'宣言
 
Public Property EncloseParameterValues As System.Boolean
'使用法
 
Dim instance As DataSource
Dim value As System.Boolean
 
instance.EncloseParameterValues = value
 
value = instance.EncloseParameterValues
public System.bool EncloseParameterValues {get; set;}
参照

DataSource クラス
DataSource メンバ