Exemplo n.º 1
0
        public void fillcombo()
        {
            DataTable dt = new DataTable();

            dt = VSWebBL.ReportsBL.ReportsBL.Ins.DominoDiskHealthRptBL();
            ServerListFilterComboBox.DataSource = dt;
            ServerListFilterComboBox.TextField  = "ServerName";
            ServerListFilterComboBox.ValueField = "ServerName";
            ServerListFilterComboBox.DataBind();
        }
Exemplo n.º 2
0
        public void fillcombo()
        {
            DataTable dt = new DataTable();

            dt = VSWebBL.ReportsBL.ReportsBL.Ins.fillServerTypesBL();
            ServerListFilterComboBox.DataSource = dt;
            ServerListFilterComboBox.TextField  = "ServerType";
            ServerListFilterComboBox.ValueField = "ServerType";
            ServerListFilterComboBox.DataBind();
        }
Exemplo n.º 3
0
        public void fillcombo()
        {
            DataTable dt = new DataTable();

            dt = VSWebBL.ReportsBL.ReportsBL.Ins.ServerListLocRptBL();
            ServerListFilterComboBox.DataSource = dt;
            ServerListFilterComboBox.TextField  = "Location";
            ServerListFilterComboBox.ValueField = "Location";
            ServerListFilterComboBox.DataBind();
        }
Exemplo n.º 4
0
        public void fillcombo()
        {
            DataTable dt = new DataTable();

            dt = VSWebBL.ReportsBL.ReportsBL.Ins.SrvAvailabilityRptBL();
            ServerListFilterComboBox.DataSource = dt;
            ServerListFilterComboBox.TextField  = "servername";
            ServerListFilterComboBox.ValueField = "servername";

            ServerListFilterComboBox.DataBind();
        }
Exemplo n.º 5
0
        public void fillcombo()
        {
            DataTable dt     = new DataTable();
            string    Server = "";

            if (ServerComboBox.Items.Count > 0)
            {
                Server = Convert.ToString(ServerComboBox.SelectedItem.Value);
                DataTable Serverids = VSWebBL.ReportsBL.ReportsBL.Ins.GetID(Server);
                if (Serverids.Rows.Count > 0)
                {
                    int id = Convert.ToInt32(Serverids.Rows[0]["ID"].ToString());

                    dt = VSWebBL.ReportsBL.ReportsBL.Ins.CommunityNames(id);
                }
                ServerListFilterComboBox.SelectedIndex = -1;
                ServerListFilterComboBox.DataSource    = dt;
                ServerListFilterComboBox.TextField     = "Name";
                ServerListFilterComboBox.ValueField    = "Name";
                ServerListFilterComboBox.DataBind();
            }
        }