Beispiel #1
0
        public void AddData(Template template)
        {
            ContentValues c = new ContentValues();

            c.Put(KEY_NAME, template.Name);
            c.Put(KEY_VALUE, template.Value);
            WritableDatabase.InsertOrThrow(TABLE_NAME, null, c);
        }