<ServiceContract(), XmlSerializerFormat()> Public Interface IIncedentNotifications <OperationContract()> Function GetCurrentIncedents() As List(Of IncedentNotificationsData) Function InsertIncedent(ByVal incedent As IncedentNotificationsData) As Byte End Interface 'Create a data contract first <DataContract()> Public Class IncedentNotificationsData <DataMember()> Public Property IncedentDescription As String <DataMember()> Public Property IncedentDateTime As DateTime <DataMember()> Public Property Resolved As Boolean End Class
Private Sub LoadIncedentGrid() Try binding.DataSource = incedentService.GetCurrentIncedents() binding.DataMember = "Incedents" IncedentGrid.DataSource = binding.DataSource
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)