Exemplo n.º 1
0
    private void loadADLDetailStatus()
    {
        ddlADLStatus.Items.Clear();
        ListItem li = new ListItem("New Status", "0");

        ddlADLStatus.Items.Add(li);

        List <ADLDetailnStatus> aDLDetailStatuss = new List <ADLDetailnStatus>();

        aDLDetailStatuss = ADLDetailnStatusManager.GetAllADLDetailnStatuss();
        foreach (ADLDetailnStatus aDLDetailStatus in aDLDetailStatuss)
        {
            ListItem item = new ListItem(aDLDetailStatus.ADLStatusName.ToString(), aDLDetailStatus.ADLDetailID.ToString());
            ddlADLStatus.Items.Add(item);
            rbtnlADLStatus.Items.Add(item);
        }
    }
Exemplo n.º 2
0
 private void showADLDetailnStatusGrid()
 {
     gvADLDetailnStatus.DataSource = ADLDetailnStatusManager.GetAllADLDetailnStatuss();
     gvADLDetailnStatus.DataBind();
 }