Свойство | Type | Description | |
---|---|---|---|
Column |
Méthode | Description | |
---|---|---|
AddColumn ( String columnName, String columnValue ) : System.Boolean |
Add a column to the data set in memory. This is useful when stored procedures used for saving data require optional parameters.
|
|
ColumnExists ( String columnName ) : System.Boolean |
Determine if a column of a specific name exists in the data set.
|
|
DeleteColumn ( String columnName ) : System.Boolean |
Delete a column from the data set in memory.
|
|
DeleteColumn ( int index ) : System.Boolean |
Delete a column from the data set in memory.
|
|
EmailSanitize ( String columnName ) : void |
Strips specific field data of dangerous email header text.
|
|
EmailSanitize ( int columnIndex ) : void |
Strips specific field data of dangerous email header text.
|
|
Exec ( String spName ) : String |
Execute the specified stored procedure. Parameters used in the stored procedure must match column names in the currently loaded data row. If so, this method will automatically send the appropriate data to the procedure. This method is useful for saving the record back to the database, marking a record for deletion, and more. This method assumes that the stored procedure returns a value. If it does not, the procedure will execute, but an exception will be thrown.
|
|
Exec ( String spName, System.Boolean sendAll ) : String |
Execute the specified stored procedure. Parameters used in the stored procedure must match column names in the currently loaded data row. If so, this method will automatically send the appropriate data to the procedure. This method is useful for saving the record back to the database, marking a record for deletion, and more. This method assumes that the stored procedure returns a value. If it does not, the procedure will execute, but an exception will be thrown.
|
|
Exec ( String spName, System.Boolean sendAll, System.Boolean returnsValue ) : String |
Execute the specified stored procedure. Parameters used in the stored procedure must match column names in the currently loaded data row. If so, this method will automatically send the appropriate data to the procedure. This method is useful for saving the record back to the database, marking a record for deletion, and more.
|
|
GetPrimarykeyName ( ) : String |
Get the primary key column name.
|
|
H3DataRow ( |
Instantiate the class with a Control object reference. This is used to read in a group of controls and their values from within the parent control. If using the "Exec()" method, this allows the developer to easily save a submitted form to a database without having to manually process and pass the stord procedure parameters. Uses the default connection string "Halide".
|
|
H3DataRow ( |
Instantiate the class with a Control object reference. This is used to read in a group of controls and their values from within the parent control. If using the "Exec()" method, this allows the developer to easily save a submitted form to a database without having to manually process and pass the stord procedure parameters.
|
|
H3DataRow ( |
Instantiate the class with a Halide.H3DataRowConfig class variable to specify what should be loaded, and from where. You must specify either 1) a SQL Command, or 2) a Table Name, Primary Key Name and Primary Key Value. SQL command overrides all other parameters.
|
|
H3DataRow ( Halide reader ) : System |
Instantiate the class with an open H3Reader object.
|
|
H3DataRow ( String connectionStringName ) : System |
Instantiate the class with a connection string name. This method is primarily for inserting new objects into a database.
|
|
H3DataRow ( String sqlCommand, String UseconnectionStringName ) : System |
Instantiate the class with a complete SQL statement.
|
|
LoadForm ( |
Load content from controls. This is done automatically when instantiating the class with a Control object, so use this method with care. Clears existing columns data before load.
|
|
LoadForm ( |
Load content from controls. This is done automatically when instantiating the class with a Control object, so use this method with care.
|
|
MarkupSanitize ( String columnName ) : void |
Strips specific field data of markup.
|
|
MarkupSanitize ( int columnIndex ) : void |
Strips specific field data of markup.
|
|
Sanitize ( SanitizeOptions options ) : void |
Sanitize all fields for a specified type of data.
|
|
ScriptSanitize ( String columnName ) : void |
Strips specific field data of dangerous script markup.
|
|
ScriptSanitize ( int columnIndex ) : void |
Strips specific field data of dangerous script markup.
|
|
SqlSanitize ( String columnName ) : void |
Sanitizes specific field data for SQL use by doubling apostrophes.
|
|
SqlSanitize ( int columnIndex ) : void |
Sanitizes specific field data for SQL use by doubling apostrophes.
|
|
this ( String columnName ) : |
Used to quickly retrieve a single column from the database row that has been read.
|
|
this ( int x ) : |
Used to quickly retrieve a single column from the database row that has been read.
|
public AddColumn ( String columnName, String columnValue ) : System.Boolean | ||
columnName | String | Name of the new column. |
columnValue | String | Value of the new column. |
Résultat | System.Boolean |
public ColumnExists ( String columnName ) : System.Boolean | ||
columnName | String | Name of the database column. |
Résultat | System.Boolean |
public DeleteColumn ( String columnName ) : System.Boolean | ||
columnName | String | Name of the column to delete. |
Résultat | System.Boolean |
public DeleteColumn ( int index ) : System.Boolean | ||
index | int | Index number of the column to delete. |
Résultat | System.Boolean |
public EmailSanitize ( String columnName ) : void | ||
columnName | String | Name of the data column to process. |
Résultat | void |
public EmailSanitize ( int columnIndex ) : void | ||
columnIndex | int | Index of the data column to process. |
Résultat | void |
public Exec ( String spName ) : String | ||
spName | String | Name of the stored procedure. |
Résultat | String |
public Exec ( String spName, System.Boolean sendAll ) : String | ||
spName | String | Name of the stored procedure. |
sendAll | System.Boolean | Send all columns to the stored procedure as parameters, /// instead of auto-detecting which parameters the procedure wants. This is /// useful when you construct the class using a reader that has disabled the /// feature whereby it loads the schema. |
Résultat | String |
public Exec ( String spName, System.Boolean sendAll, System.Boolean returnsValue ) : String | ||
spName | String | Name of the stored procedure. |
sendAll | System.Boolean | Send all columns to the stored procedure as parameters, /// instead of auto-detecting which parameters the procedure wants. This is /// useful when you construct the class using a reader that has disabled the /// feature whereby it loads the schema. |
returnsValue | System.Boolean | If the stored procedure returns a value, set to true, /// otherwise, set to false. When false, the number of rows affected is returned as a string. |
Résultat | String |
public H3DataRow ( |
||
containerControl | Control object with submitted form data. | |
Résultat | System |
public H3DataRow ( |
||
containerControl | Control object with submitted form data. | |
UseconnectionStringName | String | Name of a connection string within the Web.config file. |
Résultat | System |
public H3DataRow ( |
||
DataCon | Halide.H3DataRowConfig object with database settings. | |
Résultat | System |
public H3DataRow ( Halide reader ) : System | ||
reader | Halide | Halide.H3Reader object, opened and read(). |
Résultat | System |
public H3DataRow ( String connectionStringName ) : System | ||
connectionStringName | String | A connection string name. |
Résultat | System |
public H3DataRow ( String sqlCommand, String UseconnectionStringName ) : System | ||
sqlCommand | String | Complete SQL command string to use for reading the desired row. |
UseconnectionStringName | String | Name of a connection string within the Web.config file. |
Résultat | System |
public LoadForm ( |
||
p | Page object. | |
Résultat | System.Boolean |
public LoadForm ( |
||
p | Page object. | |
clearData | System.Boolean | Clear existing column data or not. |
Résultat | System.Boolean |
public MarkupSanitize ( String columnName ) : void | ||
columnName | String | Name of the data column to process. |
Résultat | void |
public MarkupSanitize ( int columnIndex ) : void | ||
columnIndex | int | Index of the data column to process. |
Résultat | void |
public Sanitize ( SanitizeOptions options ) : void | ||
options | SanitizeOptions | SanitizeOptions enum value specifying which type of filtering to run. |
Résultat | void |
public ScriptSanitize ( String columnName ) : void | ||
columnName | String | Name of the data column to process. |
Résultat | void |
public ScriptSanitize ( int columnIndex ) : void | ||
columnIndex | int | Index of the data column to process. |
Résultat | void |
public SqlSanitize ( String columnName ) : void | ||
columnName | String | Name of the data column to process. |
Résultat | void |
public SqlSanitize ( int columnIndex ) : void | ||
columnIndex | int | Index of the data column to process. |
Résultat | void |
public this ( String columnName ) : |
||
columnName | String | Name of the column to return. |
Résultat |
public this ( int x ) : |
||
x | int | Index number of the column to return. |
Résultat |