private void btnStart_Click(object sender, EventArgs e) { string webApplicationName = string.Empty; string siteID = string.Empty; mtlblError.Text = "no record returned"; Migration_Status_DAC dac = new Migration_Status_DAC(); DataSet ds = new DataSet(); try { ds = dac.SelectWebApplicationStatus(mtextUrl.Text); DataTable dt = ds.Tables[0]; if (ds != null && dt != null && dt.Rows.Count > 0) { webApplicationName = dt.Rows[0]["AppName"].ToString(); mgrdWebApplication.DataSource = dt; } else { mtlblError.Visible = true; } } catch(Exception ex) { LogWrite.writeLog(ex.ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)