Click here to Skip to main content
15,881,424 members
Articles / Programming Languages / Visual Basic

PeopleTrac – People Management for Not-For-Profit Organizations

Rate me:
Please Sign up or sign in to vote.
4.91/5 (10 votes)
3 Jan 2012CPOL6 min read 23.9K   877   13  
Demonstrates several LightSwitch capabilities including WCF-RIA services, Native SQL, Name and Addres merge purge

Namespace LightSwitchApplication

    Public Class Program

        Private Sub ProgramStored_Compute(ByRef result As String)
            ' Set result to the desired field value
            Try
                If Not String.IsNullOrEmpty(Me.ProgramName.Program) Then
                    result = Me.ProgramName.Program
                Else
                    result = "Program Not Assigned"
                End If
            Catch ex As Exception
                result = "Program Not Known"
            End Try
        End Sub ' Set result to the desired field value


    End Class

End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions