Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Create Non-List forms
Message
From
28/06/2011 08:48:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
28/06/2011 01:17:52
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01516096
Message ID:
01516492
Views:
40
>Thanks Timothy,
>
>i made form base on the mmBusinessForm and add controls and bind to business class as per requirment but form not showing any kind of data which place i have to retrieve data and what is code line.
>
>thanks
>
>ilyas

You can retrieve data by calling a method on your business object. For instance there are built in methods to Get All rows such as GetAllEntities(). If you add this line for instance in the constructor of your form after the InitializeComponent call you would have all the rows. Besides setting the business object binding you also need to specifiy which column is bound to each control.

Check out the binding in the developers guide where controls are bound to business object data on the details page.
Timothy
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform