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 8047529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:07:53+00:00 2026-06-05T06:07:53+00:00

I am kind of a newbie at programming (have worked a bit with Delphi

  • 0

I am kind of a newbie at programming (have worked a bit with Delphi years back) but have started to build an application for Windows Phone 7.5 Mango, as I have a great idea for an app 😀
In the application the user should be able to pick different locations from a list (a very large list, 5k+ items) – to make sure that all users always get the latest list, I have created a SQL on my website to generate the list as XML – which I load to the application via httpwebrequest; I am not quite sure what best practise is when dealing with a large list, which will be updated frequently etc.?

That is not the main question thou, because this seems to work pretty okay – my real question is, how to add a search function to my application, so the user can search for a location instead of scrolling throug the entire list?

My SQL is build up with ID, Country, State, Region, City (and a few more irrelevant tables for a search function).

I do not know what the best way to approach this is? Should I make a query on my website and generate the result as XML and use httpwebrequest to get the result to the phone – or should it be a search function on the device to search the entire list? And if so, how do I do that?

Thank you 😉

  • 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-05T06:07:54+00:00Added an answer on June 5, 2026 at 6:07 am

    First of all I have to inform you that fetching an list with over 5k+ items via a smartphone that not are using Wireless Network, will take a while. So, acrording to me there would be a huge waste of traffic to download the whole list if the user only are interested in a few items. This basically means that you are downloading a bunch of date but only are using 0,01% of it which is not the way you should build a program.

    So, acording to me you should make an webservice so that the user can call the webservice and make a http request using its search parameter. And then you basically just use the parameter in an SQL Search Query, which could be an stored procedure or just bare in code, but I don’t know how your server/database is build and structed so you can basically choose that whatever.

    Here is an example:

    SELECT * FROM TABLE_NAME WHERE (ID=@ID) OR (Country=@Country) OR (State=@State) OR (Region=@Region) OR (City=@City)
    

    If i would have done this application I would have had two parameters. One that are representing the user input, in other words the search text and one that explains what the serach parameter is. (ID, Country, State, Region or City?).

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

Sidebar

Related Questions

Well it's kind of a newbie question but I think lots of people have
I kind of have a newbie question. I've done some testing, but I didn't
I'm kind of a newbie to objective programming, so sorry for the dumb question.
Firstly: I am totally a newbie for this kind of work. I have a
Newbie Alert: while working on my android application my program was acting kind of
This is a kind of newbie question, but I couldn't find a solution. I
this is kind of a newbie question, sorry but...if a model has no controllers,
I have programming experience with higher-level languages, and have started coding in plain C
Pardon the dumb newbie question here; web programming isn't my forte... (blush) I have
NEWBIE, Newbie, newbie question, sorry. I've just started programming in C# (coming long ago

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.