private void Button_Click(object sender, RoutedEventArgs e) { localhost.WebService1 obj = new localhost.WebService1(); ds = obj.GetDs(); dgr.ItemsSource = ds.Tables["Emps"].DefaultView; }
private void Button_Click_loadObj(object sender, RoutedEventArgs e) { localhost.WebService1 obj = new localhost.WebService1(); var loadobj = obj.GetmyclassObj(); lbl1.Content = loadobj.No; lbl2.Content = loadobj.Name; }
private void Button_Click_1(object sender, RoutedEventArgs e) { localhost.WebService1 obj = new localhost.WebService1(); obj.UpdateDs(ds); }