Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to specified datalist's style in vb.net?

How to specified datalist's style in vb.net?

Scheduled Pinned Locked Moved Visual Basic
csharphtmldesigntutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BigGirlBigEyes
    wrote on last edited by
    #1

    I want to specified my datalist's style on run-time by program,not on design by html.Such as,the style may be title+author or column+title,because i want to change the style by my option ,so i have to bind data when run-time. Following is my code,i just want to test it, but it doesn't work,even doesn't display article list. dim ams as new AMSystem() myList.DataSource=convertdatareadertodataset(ams.GetArticles(params)) myList.DataKeyField = "ID" myList.DataMember = "Title" myList.DataBind() Would you do me a favor? Looking forward to your reply.;)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups