Click here to Skip to main content
13,597,004 members
Rate this:
Please Sign up or sign in to vote.
Greetings !!

I'm working on web project to develop a website similar to users would search for certain business listing to make appropriate choices.The page needs to list all the business listing(according to the search criteria) in the following format.
Resturant XYX
Phone NO: 4747474747
Address : abc road, opposite to xyz ,Cityname State pin code :14364376
--> more into
Resturant ABC
Phone NO: 75655556
Address : abc road, opposite to xyz ,Cityname State pin code :88696
--> more into

I have the Name, Address and phone no stored in the database,so therefore I just need to pull these values from the database and dynamically populate the appropriate html tags to populate with these values(in the format mentioned above).

One way that I know this can be achieved is by using a 'Repeater Control' but I'm not sure if this is an effieient way to do it or can it be done using javascript or jquery ?

Any suggesstions?
Posted 14-Mar-13 22:59pm
Updated 15-Mar-13 1:55am
‭011111100010‬ 15-Mar-13 8:04am
Best? There rarely is a single answer for that. A repeater will work just fine and might be an easier way to do it. However, jquery and ajax can do it to. There are also jquery plugins that can do this. It really depends on you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.180621.3 | Last Updated 15 Mar 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100