CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Posts
    13

    Question problems with DataList control (URGENT)

    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.
    Akshay

  2. #2
    Join Date
    Nov 2002
    Location
    Seoul
    Posts
    13
    Can use DatGrid to display.
    And Maybe you have missed a line of code in your commmands:
    for example: DataList.DataMember =

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured