>After getting the data from a business object that does the SELECT, I need to be able to bind the DataSet to a DataGridView. My book shows this statement to be the way to bind it:
>
>this.grdOrders.SetDataBinding(dsOrders, OrderObj.TableName);
>
>I don't see that the object grdOrders has a property call SetDataBinding, so how does this work?
>
>The book, in case you were wondering is : ".Net for Visual FoxPro Developers"
>
>Thanks for any help or suggestions.
What class is grdOrders ?
If System.Windows.Forms.DataGrid then :
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagrid.setdatabinding.aspx