Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Objects life cycle
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00873324
Message ID:
00873412
Vues:
19
Did you bind the data in the properties of the datagrid in the form yet?

Follow the stright forward "Jump Start" area of the manual to get the binding of data through the BizObject.

__Stephen

>Good afternoon
>
>Ok, messing around with the Developer guide.
>One thing that I'm struggling with documentation wise, is Business Objects.
>
>I have created a Business Object, very basic, just to get it working.
>
> public class SimpleDataRetrieve : ABusinessObject
> {
> public SimpleDataRetrieve()
> {
> this.TableName = "Users";
> this.PrimaryKey = "UserPK";
> }
>
> public DataSet ReturnUser()
> {
> return this.GetDataSet("SELECT * From Users");
> }
> }
>
>Ok, next logical step would be to Register this Business Object with the Form:
>using myClass.Business;
>
> public class TestForm : mmBusinessWebPage...
> {
> protected SimpleDataRetrieve sdr;
>
> private void Page_Load(...)
> {
> this.sdr = (SimpleDataRetrieve)this.RegisterBizObj(new
> SimpleDataRetrieve());
> }
> }
>
>Ok, now the question is, if for instance, I want to load one of the MM.Net Form tools on my page, how do I link it with the Business Object?
>If for instance, I want to use the mmDataGrid?
>
>Kind regards
>Toby
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform