472,981 Members | 1,416 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,981 software developers and data experts.

What is this DataList exactly ?

Dear all,

Does this datalist control is somehow similar as a datasource for any other
control ?
I really to catch the use of it, can we assimilate that control as a kind of
dataset or dataprovider ?

Similar things with the Repeater control is for defining a kind of section
in a set of dta in a grid layout ?

thnaks for your clarification
regards
Nov 19 '05 #1
5 1144
Serge,

The Datagrid, Repeater, and Datalist are all similar controls that each have
the same ultimate function: displaying data contained in some type of object
usually a DataTable. Data may be bound to each control.

Really they are all very similar each one just gives various levels of
control over the display. I rarely use anything except the datagrid, but
there have certainly been times that the Datalist has been the better
display tool depending on the type of data I was displaying.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:5F**********************************@microsof t.com...
Dear all,

Does this datalist control is somehow similar as a datasource for any
other
control ?
I really to catch the use of it, can we assimilate that control as a kind
of
dataset or dataprovider ?

Similar things with the Repeater control is for defining a kind of section
in a set of dta in a grid layout ?

thnaks for your clarification
regards

Nov 19 '05 #2
The DataList control is a simple way to show items coming from a DataSource.
The repeater should allows to repeat whatever you want for each rows in a
datasource.

You'll find a short explanation of the purpose and usage of each class in
the Class Library Reference :
http://msdn.microsoft.com/library/de...ClassTopic.asp
--

"serge calderara" <se************@discussions.microsoft.com> a écrit dans le
message de news:5F**********************************@microsof t.com...
Dear all,

Does this datalist control is somehow similar as a datasource for any other control ?
I really to catch the use of it, can we assimilate that control as a kind of dataset or dataprovider ?

Similar things with the Repeater control is for defining a kind of section
in a set of dta in a grid layout ?

thnaks for your clarification
regards

Nov 19 '05 #3
For example - You have a dataset with 15 Names (only 1 column).. and
you want to display 4 Names in a row like below..

Name1 Name2 Name3 Name4
Name5 Name6 Name7 Name8
Name9 Name10 Name11 Name12
Name13 Name14 Name15

Datalist can display data in this layout by setting 1 or 2 properties.
With datagrid and repeater you will be able to achive this , but will
need additional coding.

hope this helps :) ..

Nov 19 '05 #4
I Have try to test teh datalist as follow :

OleDbDataAdapter1.Fill(ds)
DataList1.DataSource = ds
DataList1.DataBind()

but the only thing I get is s blank page, no data even column headers....
Any idea why ?

By the way why this datagrid absolutly need what is called a template ? I
just want to display data as simple text

thnaks
serge
"S. Justin Gengo" wrote:
Serge,

The Datagrid, Repeater, and Datalist are all similar controls that each have
the same ultimate function: displaying data contained in some type of object
usually a DataTable. Data may be bound to each control.

Really they are all very similar each one just gives various levels of
control over the display. I rarely use anything except the datagrid, but
there have certainly been times that the Datalist has been the better
display tool depending on the type of data I was displaying.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:5F**********************************@microsof t.com...
Dear all,

Does this datalist control is somehow similar as a datasource for any
other
control ?
I really to catch the use of it, can we assimilate that control as a kind
of
dataset or dataprovider ?

Similar things with the Repeater control is for defining a kind of section
in a set of dta in a grid layout ?

thnaks for your clarification
regards


Nov 19 '05 #5
Serge,

Are you certain that any data rows are in your datasource?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:AA**********************************@microsof t.com...
I Have try to test teh datalist as follow :

OleDbDataAdapter1.Fill(ds)
DataList1.DataSource = ds
DataList1.DataBind()

but the only thing I get is s blank page, no data even column headers....
Any idea why ?

By the way why this datagrid absolutly need what is called a template ? I
just want to display data as simple text

thnaks
serge
"S. Justin Gengo" wrote:
Serge,

The Datagrid, Repeater, and Datalist are all similar controls that each
have
the same ultimate function: displaying data contained in some type of
object
usually a DataTable. Data may be bound to each control.

Really they are all very similar each one just gives various levels of
control over the display. I rarely use anything except the datagrid, but
there have certainly been times that the Datalist has been the better
display tool depending on the type of data I was displaying.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:5F**********************************@microsof t.com...
> Dear all,
>
> Does this datalist control is somehow similar as a datasource for any
> other
> control ?
> I really to catch the use of it, can we assimilate that control as a
> kind
> of
> dataset or dataprovider ?
>
> Similar things with the Repeater control is for defining a kind of
> section
> in a set of dta in a grid layout ?
>
> thnaks for your clarification
> regards


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kaung Htut O via DotNetMonster.com | last post by:
Hi to all Is there a way to access Datalist Footer's Control properties from outside of datalist event. Pls note that I mean not a datagrid, only for datalist. Thanks Kaung Htut Oo
3
by: Ben Becker | last post by:
I am trying to build a custom crosstab type of grid where I take some items in a data grid and based on the content of the current item compared to the previous item, determine if a new row in a...
5
by: Petr SIMUNEK | last post by:
Is there a way to render something before the DATALIST encapsulation table gets rendered ? So that I could have Label before actual table that is rendered by DATALIST... <h1>Some Label</h1>...
3
by: Andy B | last post by:
When I do this line of code at the top of a page: Response.Write(CreateContractWizard.Controls(0).ToString()) I get this line in the page: System.Web.UI.Wizard+WizardContentTable What...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.