Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Item.Count after changing SQL select
Message
From
09/09/2010 16:37:01
 
 
To
09/09/2010 11:15:02
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01480686
Message ID:
01480724
Views:
34
I have added an event handler in my VB.NET code
Partial Public Class _Default
    Inherits System.Web.UI.Page

    Public Property Sql1Tally As Integer = 0

    ...

    Protected Sub SqlDataSource1_Selected(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs) Handles SqlDataSource1.Selected
        Sql1Tally = e.AffectedRows
    End Sub
although i get the correct tally from e.AffectedRows it does not pass it to the Sql1Tally. when I check that property/variable in another function in VB.net it always returns 0.

Any clues anybody?

Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform