Click to See Complete Forum and Search --> : problems with DataList control (URGENT)


akshayjgd
September 11th, 2002, 06:17 AM
Hi, I am facing problems with Datalist control. I wrote the following code to fill teh Datalist with data and display it on the aspx page.
Dim mDR As OleDbDataReader
mDR = GetSkillSet
DataList1.DataSource = mDR
DataList1.DataBind()

The code is executed, no errors are displayed. BUT the datalist is not displayed. Also whenI place the datalist control on the page, it says
"RightClick and choose a set of templates to edit their content. The itemtemplate is required"

How do i set the itemtemplate property?
How do I edit the contents on the List(after the List shows some valid data)?
Is there some other better way of displaying data on aspx page, any other control like the datagrid or Table control?

Please let me know as soon as possible.

hhieu
January 21st, 2003, 06:55 PM
Can use DatGrid to display.
And Maybe you have missed a line of code in your commmands:
for example: DataList.DataMember =