BindState#region BindState
/**//// <summary>
/// 绑定出差状态
/// </summary>
private void BindState()
{
foreach (int i in System.Enum.GetValues(typeof(EvectionState)))
{
string text = System.Enum.GetName(typeof(EvectionState), i);
this.ddlState.Items.Add(new ListItem(text, i.ToString()));
}
this.ddlState.Items.Insert(0, new ListItem());
}
#endregion
/**//// <summary>
/// 绑定出差状态
/// </summary>
private void BindState()
{
foreach (int i in System.Enum.GetValues(typeof(EvectionState)))
{
string text = System.Enum.GetName(typeof(EvectionState), i);
this.ddlState.Items.Add(new ListItem(text, i.ToString()));
}
this.ddlState.Items.Insert(0, new ListItem());
}
#endregion