mathieu_cupryk
asked on
Refreshing datagrid that uses a web services.
This webservice does a select and puts it in a dataset called ds.
Now if I do an insert on the datagridview. I need to rebind the data.
What are the necessary functions I have to do to refresh the grid.
If the name of the grid view is dataGridView.
InitialPrices.localhost.In itialPrice ReportingS ervice WS = new InitialPrices.localhost.In itialPrice ReportingS ervice();
ds = WS.GetPriceListHeader();
this.dataGridView1.DataSou rce = ds.Tables[0];
Now if I do an insert on the datagridview. I need to rebind the data.
What are the necessary functions I have to do to refresh the grid.
If the name of the grid view is dataGridView.
InitialPrices.localhost.In
ds = WS.GetPriceListHeader();
this.dataGridView1.DataSou
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER