Skip to content
  • SQLite Manager

    WPF sqlite help tutorial question
    9
    0 Votes
    9 Posts
    0 Views
    K
    Absolutly nothing. I posted in the wrong formum If it's not broken, fix it until it is
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    6 Posts
    0 Views
    L
    DPaul1994 wrote: How should I suppose to set a password for sqlite database? private static string conn = @"Data Source=aplicatie.db;Pooling=true;FailIfMissing=false;Version=3;Password=example"; What happens if you connect using this to a non-existing file? Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)
  • Retreive blob as text SQLite

    C# question database sqlite
    3
    0 Votes
    3 Posts
    0 Views
    D
    I see, thank you, it worked :)
  • WinForm Database is locked SQLite

    C# help question database sqlite announcement
    19
    0 Votes
    19 Posts
    0 Views
    S
    DPaul1994 wrote: Yes, you right. Thank you very much! You're welcome! :) If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
  • Wrong select query SQLite?

    C# database sqlite question
    9
    0 Votes
    9 Posts
    0 Views
    Richard DeemingR
    It's the same problem as your other code - integer division. 15 / 8 = 1.875, but since the variables are integers, only the integer part is used: 15 / 8 = 1 You then multiply that result by 100, which (unsurprisingly) gives a final result of 100. You then store that final result in a double, but it's too late - you've already lost the fractional part at step 1. You need to convert one of the values to a floating-point type before the division: medie_sim = ((double)totalsim / totalsimyes) * 100; // or: // medie_sim = (totalsim / (double)totalsimyes) * 100; "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • SQLite encryption types for data

    C# database help csharp sqlite security
    5
    0 Votes
    5 Posts
    0 Views
    Richard DeemingR
    Hashing a password without using a unique salt for each record is a very bad idea. Troy Hunt: Our password hashing has no clothes [^] Salted Password Hashing - Doing it Right[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Android sqlite connection

    Android android database sqlite
    6
    0 Votes
    6 Posts
    0 Views
    G
    You can refer my following code You can customize this code as a library for sqllite package com.zindio.app; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DataBaseHandler extends SQLiteOpenHelper { // All Static variables // Database Version private static final int DATABASE\_VERSION = 1; // Database Name private static final String DATABASE\_NAME = "menuitemsordered"; // Ordered Menu Items table name private static final String TABLE\_MENUITEMS = "menuitems"; // Ordered Menu Items Table Columns names private static final String KEY\_UNIQUEID = "id"; private static final String KEY\_MENUID = "menuid"; private static final String KEY\_NAME = "name"; private static final String KEY\_PRICE = "price"; private static final String KEY\_DESCRIPTION = "description"; public DataBaseHandler(Context context) { super(context, DATABASE\_NAME, null, DATABASE\_VERSION); } // Creating Tables @Override public void onCreate(SQLiteDatabase db) { String CREATE\_MENUITEMS\_TABLE = "CREATE TABLE " + TABLE\_MENUITEMS + "(" + KEY\_UNIQUEID + " INTEGER PRIMARY KEY," + KEY\_MENUID + " TEXT," + KEY\_NAME + " TEXT," + KEY\_PRICE + " TEXT," + KEY\_DESCRIPTION + " TEXT" + ")"; db.execSQL(CREATE\_MENUITEMS\_TABLE); } // Upgrading database @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { // Drop older table if existed db.execSQL("DROP TABLE IF EXISTS " + TABLE\_MENUITEMS); // Create tables again onCreate(db); } /\*\* \* All CRUD(Create, Read, Update, Delete) Operations \*/ // Adding new ordered item Long additem(ordereditems item) { Long lInsertedID; SQLiteDatabase db = this.getWritableDatabase(); ContentValues values = new ContentValues(); values.put(KEY\_NAME, item.getName()); values.put(KEY\_PRICE, item.getamount()); values.put(KEY\_MENUID, item.getmenuitemid()); // Inserting Row lInsertedID = db.insert(TABLE\_MENUITEMS, null, values); db.close(); // Closing database connection return lInsertedID; } // Getting single contact ordereditems getitem(int id) { SQLiteDatabase db = this.getReadableDatabase(); // private static final String KEY\_UNIQUEID = "id"; // private static final String KEY\_MENUID = "menuid
  • 0 Votes
    7 Posts
    0 Views
    K
    Funny, a very similar question was posted here[^] by another member. Check the solution(s) there. "Go forth into the source" - Neal Morse
  • 0 Votes
    4 Posts
    0 Views
    L
    The only thing you can do in situations such as this, is to try and do some debugging to find out where it is hanging, and what circumstances are occurring at the time. What operations are the users doing, and what does that cause the application to do? Is it perhaps getting stuck accessing the network drive?
  • Handle large SQLite database

    Database database sqlite question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • New SQLite Management Program

    Spam and Abuse Watch sqlite com tools question
    2
    0 Votes
    2 Posts
    0 Views
    N
    gone M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • New SQLite Management Program

    Database database sqlite com
    2
    0 Votes
    2 Posts
    0 Views
    P
    Too spammy. Please consider the Product Showcase.
  • Articles with missing downloads.

    Article Writing database csharp asp-net sqlite com
    2
    0 Votes
    2 Posts
    0 Views
    S
    The first one was OK, just hidden. The second one I have emailed the author as the files are corrupted. Thanks, Sean Ewington CodeProject
  • Deleted Article

    Article Writing question android database sqlite com
    8
    0 Votes
    8 Posts
    0 Views
    L
    klimatyzatory ścienne
  • SQLite problem

    Android help android database sqlite
    9
    0 Votes
    9 Posts
    0 Views
    D
    Although my article is based on Xamarin / Visual Studio the same concepts still apply to Java / Eclipse. Using Sqlite in a Xamarin.Android Application Developed using Visual Studio[^]
  • ANDROID SQLITE

    Android android sqlite
    4
    0 Votes
    4 Posts
    2 Views
    L
    Broken link.
  • 0 Votes
    7 Posts
    0 Views
    J
    agent154 wrote: requires that Excel be installed on the system where this will be run. What is the Business case where that matters? If this is a client machine and the spread sheet is just a read only data store that comes with the application why not use a different format? If a client machine where a user can modify the file then they would need excel anyways. If a server machine then the situation is similar to the above but there should be less concern about cost.
  • 0 Votes
    3 Posts
    0 Views
    P
    Please don't cross-post. How to connect and access SQLite database[^] You'll never get very far if all you do is follow instructions.
  • 0 Votes
    15 Posts
    0 Views
    L
    ..and might even work relative happily using a different provider[^] on a Raspberry Pi :-D Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]