Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Create Non-List forms
Message
De
28/06/2011 08:48:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
28/06/2011 01:17:52
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01516096
Message ID:
01516492
Vues:
41
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform