Questions tagged [local-database]

This tag would be for cases where a database is accessed locally, not over a network.

This tag would be for cases where a database is accessed locally, not over a network. For example, an SQLite database used by a mobile app.

252 questions
1
vote
0 answers

Filename of the local MongoBD database

I have been using MongoDB for my projects. I know that the database is stored locally in /data/db directory. But i would like to know the exact filename or Collection of filenames of the database file.
Kodi
  • 93
  • 1
  • 4
1
vote
1 answer

Dynamic build JSON variable from HTML5 mobile send to Ruby on Rails controller

Client: HTML5 + JS + localdb Server: Rails3 I'm trying to code small mobile app: the app if a small form that records some contacts info into a local database. Then when clicking on a Sync button it send the contacts to a RoR app. Trying to follow…
1
vote
2 answers

Cannot set Connection String to LocalDb using OLEDB

Good morning guys, I feel quite silly to ask this question, but I have looked everywhere and possibly at all questions in this matter and could not find a solution that would work for me. Long story short. I am using a local database called…
A.Rosso
  • 77
  • 3
  • 11
1
vote
1 answer

How to set local database for google safe browsing update API (v4)?

I am building a service for checking for phishing or malware URLs for one of my applications. This service will be running on google app engine. Now, I want to use google safe browsing's Update API (v4) to have local database of URL hashes. But I am…
1
vote
2 answers

Uploading image in MVC .NET core using EF

How can i create database using EF with info and picture as column in db? Also I need to upload image into local db. I started building app with Microsoft's tutorial where you upload "movie".…
1
vote
0 answers

How to import and export contacts as vcard in ionic 2

I have created a simple contact application using ionic 2. Now I want to import / export the contacts in my app. This contacts are saved in a local database created by my app, I am not using phones contact database. How can I achieve this? Is there…
Dijish U.K
  • 159
  • 1
  • 22
1
vote
1 answer

Xamarin Sqlite Local file path

I have an app (Xamarin.Forms cross platform) that uses SQLite to manipulate data locally. I have initialized the data values like this: static UserDatabase database; database = new…
TigerLionCheetah
  • 178
  • 3
  • 19
1
vote
0 answers

What is the fatest way to deserialize 700 webpage to json and add it to local database?

i load and add to my local database 700 json webpages like this : private static Api.Root LoadJsonPages(int PageNbr) { Uri url = new Uri("www.website.com//page=" + PageNbr); string info = new WebClient().DownloadString(url); result =…
KTG
  • 53
  • 3
1
vote
1 answer

write/update local data base from datagridview

i have a problam to insert data from datagridview to local data base, in my program - im uploading from csv/excel file data to datagridview and showing it to the user . i have 3 localDB in my program that connected to each other by foreign keys and…
shlezz
  • 91
  • 11
1
vote
2 answers

How to host the xampp's local database on the webserver

I have made a database locally using Xampp and now i want that database to be hosted on webserver. i have no idea how to do so i have also searched but i'm unable to get any proper tutorial or detailed guide for this. Really looking forward for some…
shahtaj khalid
  • 476
  • 7
  • 24
1
vote
1 answer

Sequence number for Service-Based Database

I’m trying to figure out, if any row in my local database (Service-Based Database) is removed, I want give to second row (next after deleted) index of deleted line with same step back for all subsequent rows of course, also important to keep…
user6711365
1
vote
1 answer

SQL Server CE slow at reading (36 seconds for 1000 rows?)

I have a table PartNumbers with 10 columns with mixed data types and just over 100,000 rows. Here is my test: I've put an index on the ID column: CREATE UNIQUE INDEX IndexName ON [PartNumbers] (ID) I get a list of 1000 randomly selected ID's…
Frank_Vr
  • 661
  • 7
  • 23
1
vote
1 answer

How to reference sub project with local SQL database in Visual Studio 2015/ C#

I have a c# project ("MainProject") which references another c# project ("UserManager") in my solution. UserManager has a local database (a "Service-based Database", .mdf). By adding this database to UserManager, Visual Studio 2015 by default…
Mthenn
  • 189
  • 1
  • 14
1
vote
0 answers

Parse.com syncing network with Local Datastore - pinning & unpinning issue

I have a Parse backend setup where I have three classes: User Place - with restaurant information SavedPlace - an object modelling the User and Place relationship with pointers to both User and SavedPlace. What I'm trying to do is to be unable to…
Danny
  • 190
  • 1
  • 12
1
vote
1 answer

SubmitChanges() updates database in bin folder

My code and the Linq to sql function SubmitChanges are working, but when using a local database a copy of the database in the bin folder is updated and not the primary database. So the changes aren't shown on a new query. If I re-connect the…
Zeus
  • 1,496
  • 2
  • 24
  • 53