Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Encapsulates the data source for a data-bound component.
The BindingSource component serves many purposes. First, it simplifies binding controls on a form to data by providing currency management, change notification, and other services between Wisej controls and data sources. This is accomplished by attaching the BindingSource component to your data source using the DataSource property. For complex binding scenarios you can optionally set the DataMember property to a specific column or list in the data source. You then bind controls to the BindingSource. All further interaction with the data is accomplished with calls to the BindingSource component.
BindingSource provides members for accessing the underlying data. The current item can be retrieved through the Current property, and the entire list can be retrieved through the List property. Editing operations are supported on the current item through Current and the RemoveCurrent, EndEdit, CancelEdit and Add and AddNew methods. Although currency management is handled automatically for all underlying data source types, this class exposes a number of events, such as CurrentItemChanged and DataSourceChanged, that allow for customization.
Data sources that are bound to a BindingSource component can also be navigated and managed with the BindingNavigator class, which provides a VCR-like user interface (UI) for navigating items within a list. Although BindingNavigator can be bound to any data source, it was designed to integrate with a BindingSource component through its BindingNavigator.BindingSource property.
For a full list of properties, methods and events see the API documentation.
When enabled, the RefreshValueOnChange property automatically refreshes the source property after a data-bound value has been updated in the data source.
Implements a timer that raises an event at user-defined intervals.
The Timer component is a client-side timer that raises a Tick event in your application after the number of milliseconds in the Interval property has elapsed. Typically, a Timer object is declared at the class level so that it stays in scope as long as it is needed. You can then handle its Tick event to provide regular processing.
For a full list of properties, methods and events see the API documentation.
The Wisej Timer control can fire at regular intervals by attaching to the Tick event and setting the Interval property.
The component can be used for both reading existing predefined or custom counters and publishing (writing) performance data to custom counters.
There are numerous predefined counters listed in the Windows Performance Monitor's . To learn about the .NET Framework performance counters, see .
This type implements the interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its method in a try
/catch
block. To dispose of it indirectly, use a language construct such as using
(in C#) or Using
(in Visual Basic). For more information, see the "Using an Object that Implements IDisposable" section in the interface topic.
Item | Description |
---|---|
Class name
"wisej.web.Timer"
Source code
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
The BindingNavigator control represents a standardized way to navigate and manipulate data on a form. In most cases, a BindingNavigator is paired with a BindingSource control to move through data records on a form and interact with them. In these cases, the BindingSource property is set to the associated Wisej.Web.BindingSource component that acts as a data source.
By default, the BindingNavigator control's user interface (UI) is composed of a series of ToolStrip buttons, text boxes, and static text elements for most common data-related actions, such as adding data, deleting data, and navigating through data. Each of these controls can be retrieved or set through an associated member of the BindingNavigator control.
Likewise, there is also a one-to-one correspondence to members within the BindingSource class that programmatically perform the same functionality, as shown in the following table.
UI Control | BindingNavigator Member | BindingSource Member |
---|---|---|
Adding a BindingNavigator control to a form and binding it to a data source, such as a BindingSource, will automatically establish the relationships in this table.
For a full list of properties, methods and events see the API documentation.
Any control contained within the BindingNavigator control can be customized. The default configuration contains the standard UI controls for navigating the source.
Represents an in-memory cache of data.
The , which is an in-memory cache of data retrieved from a data source, is a major component of the ADO.NET architecture. The consists of a collection of objects that you can relate to each other with objects. You can also enforce data integrity in the by using the and objects. For further details about working with objects, see .
Whereas objects contain the data, the allows you to navigate though the table hierarchy. The tables are contained in a accessed through the property. When accessing objects, note that they are conditionally case sensitive. For example, if one is named "mydatatable" and another is named "Mydatatable", a string used to search for one of the tables is regarded as case sensitive. However, if "mydatatable" exists and "Mydatatable" does not, the search string is regarded as case insensitive. For more information about working with objects, see .
A can read and write data and schema as XML documents. The data and schema can then be transported across HTTP and used by any application, on any platform that is XML-enabled. You can save the schema as an XML schema with the method, and both schema and data can be saved using the method. To read an XML document that includes both schema and data, use the method.
Provides access to a queue on a Message Queuing server.
The Message Queuing technology allows applications running at different times to communicate across heterogeneous networks and systems that might be temporarily offline. Applications send, receive, or peek (read without removing) messages from queues. Message Queuing is an optional component of Windows 2000 and Windows NT, and must be installed separately.
The MessageQueue class is a wrapper around Message Queuing. There are multiple versions of Message Queuing, and using the MessageQueue class can result in slightly different behavior, depending on the operating system you are using.
The MessageQueue class provides a reference to a Message Queuing queue. You can specify a path in the MessageQueue constructor to connect to an existing resource, or you can create a new queue on the server. Before you can call Send(Object), Peek, or Receive, you must associate the new instance of the MessageQueue class with an existing queue. At that point, you can manipulate the queue properties such as Category and Label.
Move First
MoveFirstItem
MoveFirst
Move Previous
MovePreviousItem
MovePrevious
Current Position
PositionItem
Current
Count
CountItem
Count
Move Next
MoveNextItem
MoveNext
Move Last
MoveLastItem
MoveLast
Add New
AddNewItem
AddNew
Delete
DeleteItem
RemoveCurrent
Provides interaction with Windows event logs.
EventLog lets you access or customize Windows event logs, which record information about important software or hardware events. Using EventLog, you can read from existing logs, write entries to logs, create or delete event sources, delete logs, and respond to log entries. You can also create new logs when creating an event source.
This type implements the IDisposable interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its Dispose method in a try
/catch
block. To dispose of it indirectly, use a language construct such as using
(in C#) or Using
(in Visual Basic). For more information, see the "Using an Object that Implements IDisposable" section in the IDisposable interface topic.
In addition to providing access to individual event logs and their entries, the EventLog class lets you access the collection of all event logs. You can use the static
members of EventLog to delete logs, get log lists, create or delete a source, or determine if a computer already contains a particular source.
There are three default event logs: Application, System, and Security. A Security log is read-only. Other applications and services you install, such as Active Directory, might have additional event logs.