C# Class DotNet.Business.WebUtil

Show file Open project: cuiwenyuan/DotNet.Util Class Usage Examples

Public Methods

Method Description
BindBaseActionCategory ( BaseUserInfo userInfo, CheckBoxList checkBoxList, bool checkAll = false, bool itemStyle = false ) : void

绑定操作类别

BindBaseModuleCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void

绑定模块类别

BindBaseOrganizationCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void

绑定组织机构类别

BindBaseRoleCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void

绑定角色类别

BindBaseSystem ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void

绑定子系统

BindDictionary ( BaseUserInfo userInfo, CheckBoxList checkBoxList, string dictionaryCode, bool checkAll = false, bool itemStyle = false ) : void

绑定字典到复选框列表

BindDictionary ( BaseUserInfo userInfo, DropDownList dropDownList, string dictionaryCode, bool addEmptyItem = true ) : void

绑定下拉列表

Method Details

BindBaseActionCategory() public static method

绑定操作类别
public static BindBaseActionCategory ( BaseUserInfo userInfo, CheckBoxList checkBoxList, bool checkAll = false, bool itemStyle = false ) : void
userInfo BaseUserInfo 用户信息
checkBoxList CheckBoxList 复选框列表
checkAll bool 选中全部
itemStyle bool 样式
return void

BindBaseModuleCategory() public static method

绑定模块类别
public static BindBaseModuleCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void
userInfo BaseUserInfo 用户信息
dropDownList DropDownList 下拉列表
addEmptyItem bool 是否增加空行
return void

BindBaseOrganizationCategory() public static method

绑定组织机构类别
public static BindBaseOrganizationCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void
userInfo BaseUserInfo 用户信息
dropDownList DropDownList 下拉列表
addEmptyItem bool 是否增加空行
return void

BindBaseRoleCategory() public static method

绑定角色类别
public static BindBaseRoleCategory ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void
userInfo BaseUserInfo 用户信息
dropDownList DropDownList 下拉列表
addEmptyItem bool 是否增加空行
return void

BindBaseSystem() public static method

绑定子系统
public static BindBaseSystem ( BaseUserInfo userInfo, DropDownList dropDownList, bool addEmptyItem = true ) : void
userInfo BaseUserInfo 用户信息
dropDownList DropDownList 下拉列表
addEmptyItem bool 是否增加空行
return void

BindDictionary() public static method

绑定字典到复选框列表
public static BindDictionary ( BaseUserInfo userInfo, CheckBoxList checkBoxList, string dictionaryCode, bool checkAll = false, bool itemStyle = false ) : void
userInfo BaseUserInfo 用户信息
checkBoxList CheckBoxList 复选框列表
dictionaryCode string 字典编码
checkAll bool 选中全部
itemStyle bool 样式
return void

BindDictionary() public static method

绑定下拉列表
public static BindDictionary ( BaseUserInfo userInfo, DropDownList dropDownList, string dictionaryCode, bool addEmptyItem = true ) : void
userInfo BaseUserInfo 用户信息
dropDownList DropDownList 下拉列表
dictionaryCode string 字典编码
addEmptyItem bool 是否增加空行
return void