Offline Property

Microsoft Office Web Components Visual Basic

expression.Offline

expression    Required. An expression that returns a DataSourceControl object.

Example

This example changes the text of a label control to indicate the offline status of a data access page before the data access page is bound to its data source.

Sub MSODSC_BeforeInitialBind(DSCEventInfo)

   If MSODSC.Offline = True then
      Label.innerText = "Offline"
   Else
      Label.innerText = "Online"
   End If

End Sub