SQLiteParameterCollection Class
Collects all parameters relevant to a
SQLiteCommand as well as their respective mappings to
System.Data.DataSet columns.
The following example adds instance of
SQLiteParameter to collection.
public void AddSQLiteParameters()
{
// Create sqConnection and sqCommand.
sqCommand.CommandText = "DELETE Dept WHERE DeptNo = :DeptNo";
sqCommand.Parameters.Add("DeptNo", SQLiteType.Int32).Value = 50;
sqCommand.ExecuteNonQuery();
}
Public Sub AddSQLiteParameters()
// Create sqConnection and sqCommand.
sqCommand.CommandText = "DELETE Dept WHERE DeptNo = :DeptNo"
sqCommand.Parameters.Add("DeptNo", SQLiteType.Int32).Value = 50
sqCommand.ExecuteNonQuery()
End Sub 'AddSQLiteParameters
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2