If the webservice returns a type of DataSet, then all you really have to
do is take that result and assign it to the DataSource property of the
DataGrid. The grid should take care of the rest for you.
My experience proves that it is better to call the SetDataBinding method in
case of the Windows Forms DataGrid. I really don't know why but it really
helps to resolve some weird issues sometimes.
If the webservice returns a type of DataSet, then all you really have to
do is take that result and assign it to the DataSource property of the
DataGrid. The grid should take care of the rest for you.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com
DataGridUser said:
Hello all,
I am using a DataGrid, How can i bind a DataGrid to a
WebService which returns DataSet.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.