Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9212819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:36:43+00:00 2026-06-18T01:36:43+00:00

I am working over a Windows 8 metro app using(HTML 5, JavaScript) and want

  • 0

I am working over a Windows 8 metro app using(HTML 5, JavaScript) and want to know how i can bind data from the SQLite tables in my dropdown list, please guide or suggest with some source codes. I am using the below mentioned approach, is there any other way to do this job in win metro app

 function getcategories() {
    SQLite3JS.openAsync(dbPath).then(function (db) {
        db.allAsync('SELECT * FROM dbCategorymaster where isActive=' + IsActive + ' order by [order]')
            .then(function (rows) {
                var str = "";
                for (var i = 0; i < rows.length; i++) {

                    str = str + '<option value=' + rows[i].id + '>' + rows[i].category + '</option>';
                }
                var ddlcategory = document.getElementById("drpCategory");
                ddlcategory.innerHTML = '';
                ddlcategory.innerHTML = str;
                db.close();
            })
    });
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T01:36:44+00:00Added an answer on June 18, 2026 at 1:36 am

    What kind of component do you use to access SQLite?
    So for I haven’t come across any way to declaratively bind options of a select tag.
    You could either use a ListView and its itemDataSource (as provided by our SQLite component) or programmatically fill the options like described in this thread.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a native C++/Win32/MFC app on Windows 7. I'm using CFile to
I'm working on porting Mumble over to Windows RT (using the jailbreak), and I've
I'm working on my windows-phone app which uses some simple data binding. I've already
I'm working on a small Windows Phone 7 Silver Light app. I simply want
I am working on porting over a database from a custom MSSQL CMS to
I'm working on some scripted GUI test for a windows C# .net app. I'm
I'm working with continuously updated ~20GB Interbase backups that i want to replicate over
While working over a windows domain intranet site (with <authentication mode=Windows /> ) I
I'm working with generating .pdf's from PHP using this library: http://www.fpdf.org/ I am currently
I have recently been working with Matlab. My question stems from my usage over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.