>>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.aspxI'm using The Mere Mortals Framework so the binding is a bit different but you should just be able to set the DataSource property in the Properties window to the desired dataset and tablename (if it's not the default).
Linda Harmes
HiBit Technologies, Inc.