private void FillListBox() { DataTable NotesDataTable = RestrServers(); ServerListBox.DataSource = NotesDataTable; ServerListBox.TextField = "ServerName"; ServerListBox.ValueField = "ID"; ServerListBox.DataBind(); }
public void fillServerListBox(string StatName) { DataTable dt = new DataTable(); dt = VSWebBL.ReportsBL.XsdBL.Ins.GetServersListFromDominoDailyStats(StatName); ServerListBox.DataSource = dt; ServerListBox.TextField = "ServerName"; ServerListBox.ValueField = "ServerName"; ServerListBox.DataBind(); }
public void fillcombo() { DataTable d = new DataTable(); d = VSWebBL.ReportsBL.XsdBL.Ins.GetO365Server(); ServerListBox.DataSource = d; ServerListBox.TextField = "Server"; ServerListBox.ValueField = "Server"; ServerListBox.DataBind(); }
public void fillcombo(string sType) { DataTable d = new DataTable(); //2/19/2016 Durga Added for VSPLUS 2174 string StatName = "MemoryJava"; d = VSWebBL.ReportsBL.XsdBL.Ins.getServersForTraveler(sType, StatName); ServerListBox.DataSource = d; ServerListBox.TextField = "ServerName"; ServerListBox.ValueField = "ServerName"; ServerListBox.DataBind(); }
public void fillServerCombo() { DataTable d = new DataTable(); string sType = ""; string uType = ""; sType = RptTypeRadioButtonList.SelectedItem.Value.ToString(); if (UserTypeComboBox.Items.Count > 0) { uType = UserTypeComboBox.SelectedItem.Value.ToString(); d = VSWebBL.ReportsBL.ReportsBL.Ins.GetMSServers(sType, uType); ServerListBox.DataSource = d; ServerListBox.TextField = "ServerName"; ServerListBox.ValueField = "ServerName"; ServerListBox.DataBind(); } }
public void fillcombo(string sType) { DataTable d = new DataTable(); //12/17/2013 NS modified //d = VSWebBL.ReportsBL.ReportsBL.Ins.getDominoSummaryStats(); d = VSWebBL.ReportsBL.XsdBL.Ins.getServersForCPUUtil(sType); /* * ServerComboBox.DataSource = d; * ServerComboBox.TextField = "ServerName"; * ServerComboBox.ValueField = "ServerName"; * ServerComboBox.DataBind(); */ ServerListBox.DataSource = d; ServerListBox.TextField = "ServerName"; ServerListBox.ValueField = "ServerName"; ServerListBox.DataBind(); }