/ Published in: C#
defined a shared script database, Visual Web Ripper will pass an instance of the class WrSharedDatabase to all your script functions. The WrSharedDatabase class has the following methods that all work the same, regardless of the type of database you are accessing.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void SetSql(string sql) public void PrepareSql() public void SetParameterTextValue(string parameterName, string value) public void SetParameterDateTimeValue(string parameterName, DateTime value) public void SetParameterIntValue(string parameterName, int value) public void SetParameterDoubleValue(string parameterName, double value) public void SetParameterNullValue(string parameterName) public object ExecuteNonQuery() public object ExecuteScalar() public DataSet ExecuteDataSet() public OleDbDataReader ExecuteOleDbDataReader() public SqlDataReader ExecuteSqlDataReader() public SqlConnection SqlConnection; public OleDbConnection OleDbConnection; public SqlCommand SqlCommand; public OleDbCommand OleDbCommand;