SqlConnection conn = new SqlConnection("Data source=.;Integrated Security=true; Initial Catalog=pubs");conn.Open();SqlCommand comm = new SqlCommand("select * from authors; select * from titles", conn);SqlDataReader dr = comm.ExecuteReader(CommandBehavior.CloseConnection);//To get the rows from first querywhile (dr.Read()){ listBox1.Items.Add(dr[0].ToString());}// To get the rows from second querydr.NextResult();while (dr.Read()){ listBox1.Items.Add(dr[0].ToString());}dr.Close();