Example #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            localhost.WebService1 obj = new localhost.WebService1();

            ds = obj.GetDs();
            dgr.ItemsSource = ds.Tables["Emps"].DefaultView;
        }
Example #2
0
        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;
        }
Example #3
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     localhost.WebService1 obj = new localhost.WebService1();
     obj.UpdateDs(ds);
 }