public static string ExecuteScalar( string query, OrderedDictionary param, DbProvider provider, string connectionString, bool throwExceptions )
Parameters
- query
Type: System.String
SQL query.
- param
Type: System.Collections.Specialized
Query parameters .
- provider
Type: ZennoLab.InterfacesLibrary.Enums.Db.DbProvider
Data provider type.
- connectionString
Type: System.String
Connection string.
- throwExceptions
Type: System.Boolean
If true, exceptions will not be supressed. Default is false.
Return Value
Type: System.String
The first column of the first row in the result set or empty string