private void btnClick(object sender, EventArgs e) { Service1SoapClient MyService = new Service1SoapClient(); DataSet ds = MyService.GetData(); dataGrid.DataSource = ds.Tables["Barcodes"]; }
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."); }