using (SqlConnection myConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString2"].ToString()))
{
DataTable dtJob = new DataTable();
da =
new SqlDataAdapter("SELECT originating_server, name, enabled, description, notify_email_operator, date_created, date_modified, last_run_date, last_run_time, owner FROM ServiceStatus", myConnection);
da.Fill(dtJob);
DataTable dtService = new DataTable();
new SqlDataAdapter("SELECT* FROM WinServ ", myConnection);
da.Fill(dtService);
dtJob.Merge(dtService);
DataTable dtwebserv = new DataTable();
new SqlDataAdapter("SELECT * FROM webserv ", myConnection);
da.Fill(dtwebserv);
dtJob.Merge(dtwebserv);
gvDetails.DataSource = dtJob;
gvDetails.DataBind();
myConnection.Close();