title: Populate Gridview Using Web Services in C# winforms
body: <p>I have make one webserive which have code of this</p>
  
  <pre><code>static SqlConnection conn = new SqlConnection(ConfigurationSettings.AppSettings["Connection"].ToString());
  
  [WebMethod]
  public DataSet SQLBranchMaster() {
  
      String Load = "SELECT * FROM BranchMaster";
      conn.Open();
      SqlDataAdapter adapt = new SqlDataAdapter(Load,conn);
      DataSet ds = new DataSet();
      adapt.Fill(ds);
      conn.Close();
      return ds;
  
  }
  </code></pre>
  
  <p>now on windows forms my code is</p>
  
  <pre><code>  dataGridView1 = new DataGridView();
  
  // Service is my Webserive class name
  // myservice is my reference added in the Winforms
  
  myservice.Service test = new myservice.Service();
  dataGridView1.DataSource = test.SQLBranchMaster();
  </code></pre>
  
  <p>how to do now ?
  nothing shown when i run the form </p>