Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmBusinessWebPage.Save vs ABusinessObject.SaveDataSet
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
MmBusinessWebPage.Save vs ABusinessObject.SaveDataSet
Divers
Thread ID:
01257680
Message ID:
01257680
Vues:
53
I'm using ABusinessObject for updating records in SQL Server table. Under normal circumstances, is there a difference between using mmBusinessWebPage.Save and using ABusinessObject.SaveDataSet?
    Protected oSystemSettings As SystemSettings

...

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.oSystemSettings = CType(Me.RegisterBizObj(New SystemSettings), SystemSettings)
        If Not IsPostBack Then
            oSystemSettings.GetAllData()
            Session("dsSystemSettings") = oSystemSettings.DataSet
        End If
    End Sub

    Private Sub SaveChanges()
        Dim dsSaved As DataSet
        dsSaved = CType(Session("dsSystemSettings"), DataSet)
        Dim result As Boolean
        result = oSystemSettings.SaveDataSet(dsSaved)
    End Sub
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform