Sybase 2 Barcode Reader User Manual


 
Storing data in a DataWindow object using the Data view
186 DataWindow .NET
2 Do any of the following:
Click the Insert Row button in the PainterBar to create an empty row
and type a row of data. You can enter as many rows as you want.
Click the Retrieve button in the PainterBar to retrieve all the rows of
data from the database. You can delete rows you do not want to save
or manually add new rows.
Click the Delete button in the PainterBar to delete unwanted rows.
Data changes are local to the DataWindow object
Adding or deleting data here does not change the data in the database. It
only determines what data will be stored with the DataWindow object
when you save it. The Update DB button is disabled.
3 When you have finished, save the DataWindow object.
When you save the DataWindow object, the data is stored in the DataWindow
object.
Sharing data with the
Preview view
To see changes you make in the Data view reflected in the Preview view, select
ShareData from the pop-up menu in the Data view. The Preview view shows
data from the storage buffer associated with the Data view.
Saving the
DataWindow object
without data
If you saved the DataWindow object with data to obtain a snapshot, you usually
need to save it again without data. To do so, select Delete All Rows from the
pop-up menu in the Data view before saving.
Sharing DataWindow objects with other developers
Storing data in a DataWindow object is a good way to share data and its
definition with other developers. They can simply open the DataWindow
object on their computers to get the data and all its properties.