/// <summary>Page Load.</summary> public void Page_Load ( object sender, EventArgs e ) { string databaseConnectionString = null; serverMapPath = this.MapPath(""); if ( serverMapPath != null) { filenameConfigurationXml = serverMapPath + @"\" + filenameConfigurationXml; }//if ( serverMapPath != null) if ( !Page.IsPostBack ) { UtilitySQLDMO.ConfigurationFile(); databaseConnectionString = UtilitySQLDMO.DatabaseConnectionString; ListBoxSQLDMOAdmonish.DataSource = UtilitySQLDMO.Admonish; ListBoxSQLDMOAdmonish.DataBind(); ListBoxSQLDMOAdmonish.SelectedIndex = 0; }//if ( !Page.IsPostBack ) }//Page_Load
}//PageCancel() /// <summary>PageSubmit().</summary> public void PageSubmit() { string exceptionMessage = null; ArrayList taskList = null; StringBuilder sb = null; Feedback = ""; taskList = SQLDMOAdmonish; UtilitySQLDMO.AdmonishAdminister ( ref taskList, ref exceptionMessage, ref sb ); Feedback = sb.ToString(); }//PageSubmit()