My question is how you can bind data that is saved in Microsoft SQL Server 2008 and return as dataset within the web service (the database and web service come from remote computer) towards the datagrid control in wpf application. Within the xaml.cs file how do i retrieve the dataset that return from web service and bind to datagrid? Can provide me some good examples?

Within the xaml.cs file i have to declare a brand new dataset?

DataSet ds = new DataSet();

how do i bind the retrieved dataset from web service for instance getQue() towards the dataset above? how you can bind the dataset towards the datagrid of wpf?

Please guide me. Thanks ahead of time.

Essentially you have to put this inside your XAML

    <dg:DataGrid ItemsSource="{Binding}"/>

Which inside your code

this.DataContext = dataset.Customers.DefaultView;

There's an excellent example how you can achieve everything and much more -see