Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Greetings !!

I'm working on asp.net web project to develop a website similar to justdial.com.The 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 23:59pm
bbikx262
Edited 15-Mar-13 2:55am
(no name)498.5K
v2
Comments
ryanb31 at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 15 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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