Fills a data set with data, if data exist in the session cache, otherwise returns False.

Namespace:  C1.Web.Data
Assembly:  C1.Web.Data.2 (in C1.Web.Data.2.dll)

Syntax

C#
public static bool Fill(
	IC1CacheableObject cacheableObj
)
Visual Basic (Declaration)
Public Shared Function Fill ( _
	cacheableObj As IC1CacheableObject _
) As Boolean

Parameters

cacheableObj
Type: C1.Web.Data..::..IC1CacheableObject
C1WebDataSet or C1WebExpressConnection whose data are looked up in the cache.

Return Value

Returns True if data exist in the session cache, otherwise returns False.

Remarks

This method looks for this data set data in the session cache. If it was previously saved with SaveData(IC1CacheableObject), this method restores the data to the data set and returns True. Otherwise, it returns False.

See Also