Example #1
0
    public void Load_CalculatedStatus(int MainStatusId)
    {
        ddlCalculatedStatus.DataSource = objCrewAdmin.Get_CrewCalculatedStatus(MainStatusId);

        ddlCalculatedStatus.DataTextField  = "NAME";
        ddlCalculatedStatus.DataValueField = "ID";
        ddlCalculatedStatus.DataBind();
        ddlCalculatedStatus.Items.Insert(0, new ListItem("-SELECT ALL-", "0"));
        ddlCalculatedStatus.SelectedIndex = 0;
    }