Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Binding at runtime
Message
From
28/06/2011 11:10:32
 
 
To
28/06/2011 10:00:53
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:
01516518
Views:
47
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform