Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not sure if I need a table

Status
Not open for further replies.

critical5

Programmer
Dec 13, 2006
37
GB
Hi there,

this is what i need to do but i am not sure on how to do it.

as part of the data i have returned from a web service i have an address that i have displayed on a series of labels(created dynamically) What I would like to do is across that line of address put the type of address and a match level like this:

ADDRESS TYPE MATCHLEVEL
12HANOVA ROAD VA12 1FG SHORT 1

Does anyone know any better way of doing it: I have used
(& "  ") but it looks untidy...Do I need a table...how would I create that dynamically....all suggestions appreciated.

 
You could use one of the many data controls such as a GridView, DataList, DetailsView, FormView or a Repeater and simply bind the data to it.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Quite new to ASP.NET....how do I bind my data to this controls? This data would come from an objectsource and when I try to bind this it is not displayed in the list....Is there anyway you can show me the hard code for binding something like this(address)??

Thanks
 
For most Data Controls you simply set their DataSource proprty to you datasource (i.e. a DataTable) and then call it's DataBind method.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Hi I have tried using an objectDatatsource but it wouldn't load...would a table be usable??

thanks
 
Yes, you could use a Table control.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top