Exemplo n.º 1
0
 private void btnClick(object sender, EventArgs e)
 {
     
     Service1SoapClient MyService = new Service1SoapClient();
     
     DataSet ds = MyService.GetData();
     
     dataGrid.DataSource = ds.Tables["Barcodes"];
 }
Exemplo n.º 2
0
 public void GetDataTest()
 {
     Service1SoapClient target = new Service1SoapClient(); // TODO: Initialize to an appropriate value
     DataSet expected = null; // TODO: Initialize to an appropriate value
     DataSet actual;
     actual = target.GetData();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }