Beispiel #1
0
 protected void bindListNetworksDDL(object dataSource, string dataTextField, string dataValueField)
 {
     CBS_ddl_ListVolumes.DataSource     = dataSource;
     CBS_ddl_ListVolumes.DataTextField  = dataTextField;
     CBS_ddl_ListVolumes.DataValueField = dataValueField;
     CBS_ddl_ListVolumes.DataBind();
 }
Beispiel #2
0
 protected void bindListNetworksSessionDDL(object dataSource, string dataTextField, string dataValueField, string selectedSessionIndex)
 {
     CBS_ddl_ListVolumes.DataSource     = dataSource;
     CBS_ddl_ListVolumes.DataTextField  = dataTextField;
     CBS_ddl_ListVolumes.DataValueField = dataValueField;
     CBS_ddl_ListVolumes.SelectedIndex  = CBS_ddl_ListVolumes.Items.IndexOf(CBS_ddl_ListVolumes.Items.FindByText(selectedSessionIndex));
     CBS_ddl_ListVolumes.DataBind();
 }