Click or drag to resize
AkPageInitSelectBySearch Method (Control, String, String, String, String)
根据查询创建列表项。

Namespace: Appkit.Web.UI
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static void InitSelectBySearch(
	Control sel,
	string sqlExpr,
	string textName,
	string valueName,
	string value
)

Parameters

sel
Type: System.Web.UIControl
列表选择控件, 可以为 HtmlSelect/DropDownList/ListBox。
sqlExpr
Type: SystemString
用于查找数据的SQL表达式。
textName
Type: SystemString
显示值字段名称。
valueName
Type: SystemString
值字段名称。
value
Type: SystemString
默认值。
See Also