wwAppConfiguration.ReadkeysFromSqlServer

Reads keys from a SQL Database from a table you specify. Table must contain ID (int) and ConfigData fields.

public static wwAppConfiguration ReadkeysFromSqlServer(String ConnectionString, String TableName, Int32 Key, Type ConfigurationObjectType)

Return Value

Object

Parameters

ConnectionString
Connection string to the SQL database

TableName
Name of the table. If the table doesn't exist it's created

Key
id of this configuration record. Use 0 for a single record.

ConfigurationObjectType
provide a type instance of the type to create (typeof(WebStoreConfig) for example)


See also:

Class wwAppConfiguration

© West Wind Technologies, 1996-2018 • Updated: 04/21/04
Comment or report problem with topic