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. Web Development
  3. ASP.NET
  4. Repetitive Rows of Controls

Repetitive Rows of Controls

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelptutorial
5 Posts 3 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.
  • F Offline
    F Offline
    freshonlineMax
    wrote on last edited by
    #1

    Hi I'm new in asp.net, Now i'm developing a project for a news agency. I stored fields about news like NewsTitle, NewsBrief,NewsDate,... in database. I want to show custom news (for example last 10) in a home page. Which control i should use? Each news containg title, breif, small picture and the news. Should i use panel control or i should add table programmatically to the page? Please Help, Tanx.

    C F 2 Replies Last reply
    0
    • F freshonlineMax

      Hi I'm new in asp.net, Now i'm developing a project for a news agency. I stored fields about news like NewsTitle, NewsBrief,NewsDate,... in database. I want to show custom news (for example last 10) in a home page. Which control i should use? Each news containg title, breif, small picture and the news. Should i use panel control or i should add table programmatically to the page? Please Help, Tanx.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'd use a repeater, to give me full control over how each item is rendered, and make it's data source a collection of NewsItem objects (a class you create )

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      F 1 Reply Last reply
      0
      • C Christian Graus

        I'd use a repeater, to give me full control over how each item is rendered, and make it's data source a collection of NewsItem objects (a class you create )

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        F Offline
        F Offline
        freshonlineMax
        wrote on last edited by
        #3

        Dear Christian Sorry! Your answer is not completely usefull. Can you give me a source? Is repeater a control or its Custum control you created for yourself? How youu add that to your page? Tanx

        S 1 Reply Last reply
        0
        • F freshonlineMax

          Dear Christian Sorry! Your answer is not completely usefull. Can you give me a source? Is repeater a control or its Custum control you created for yourself? How youu add that to your page? Tanx

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          HI Reapeter is ASP.NET 2.o server control you can add it by simply drag and drop from control panel to your page ... If you want some code please search on google for it definalty you will get many sites best of luck

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          1 Reply Last reply
          0
          • F freshonlineMax

            Hi I'm new in asp.net, Now i'm developing a project for a news agency. I stored fields about news like NewsTitle, NewsBrief,NewsDate,... in database. I want to show custom news (for example last 10) in a home page. Which control i should use? Each news containg title, breif, small picture and the news. Should i use panel control or i should add table programmatically to the page? Please Help, Tanx.

            F Offline
            F Offline
            freshonlineMax
            wrote on last edited by
            #5

            Ok friends Tanx for all your replies. You solved my problem. It's cool. I found many references in web about Repeater Control. Regards

            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