Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Binding at runtime
Message
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
C# 4.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01516502
Message ID:
01516932
Views:
68
>>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
I'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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform