Binding Grid

  • Thread starter Thread starter DataGridUser
  • Start date Start date
D

DataGridUser

Hello all,
I am using a DataGrid, How can i bind a DataGrid to a
WebService which returns DataSet.


Thanks
 
DataGridUser,

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,

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.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Nicholas Paldino said:
DataGridUser,

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.


Thanks
 
Back
Top