TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sweta Sinha
NA
51
42.7k
Retrieve bulk of data from Sqlite in WP8
Mar 16 2015 5:38 AM
Hi,
I have to retrieve bulk of data from the database.As their is around 40K data,So, it is taking lot of time for execution.My Code:-
List<string> finalList=new List<string>();
using (var dbase = new SQLiteConnection(Globals.DBasePath, true))
{
dbase.RunInTransaction(() =>
{
var list= dbase.Query<Vehicles>("select * from Vehicles");
foreach (Vehicles veh in list)
{
string str = veh.vehName;
finalList.Add(str);
}
});
dbase.Close();
}
It takes arount 8-10 secs to load 30-40K data.Is their any way to reduce this time ?
Reply
Answers (
0
)
Expnader View Crashing in WP8
Common Header in each page in WP8