Dynamic Articles from a Database

Discussion in 'ASP .Net' started by Tor Inge Rislaa, Sep 20, 2006.

  1. Dynamic Articles from a Database



    Hi, I have a website containing one webform (default.aspx) and a database
    containing one table (articles) the table contains only 4 field's id,
    tittles, articletext, date. By simply dragging the table to my page I have a
    grid view of the data. I would however like to present the data as a list of
    articles with the title and date as a bold header and the articletext just
    below a blank line before the next article comes with it's title and date
    and so on.



    Do I use HTML tags or do I use controls?



    Does anyone have a good example showing how to perform this task.



    TIRislaa
    Tor Inge Rislaa, Sep 20, 2006
    #1
    1. Advertising

  2. look up templatefields, you will be able to customize your output to look
    virtually any way you wish.

    http://aspnet101.com/aspnet101/tutorials.aspx?id=51

    --
    Regards

    John Timney (MVP)
    VISIT MY WEBSITE:
    http://www.johntimney.com


    "Tor Inge Rislaa" <> wrote in message
    news:%...
    > Dynamic Articles from a Database
    >
    >
    >
    > Hi, I have a website containing one webform (default.aspx) and a database
    > containing one table (articles) the table contains only 4 field's id,
    > tittles, articletext, date. By simply dragging the table to my page I have
    > a grid view of the data. I would however like to present the data as a
    > list of articles with the title and date as a bold header and the
    > articletext just below a blank line before the next article comes with
    > it's title and date and so on.
    >
    >
    >
    > Do I use HTML tags or do I use controls?
    >
    >
    >
    > Does anyone have a good example showing how to perform this task.
    >
    >
    >
    > TIRislaa
    >
    >
    John Timney \(MVP\), Sep 20, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. IUnknown
    Replies:
    1
    Views:
    365
    Tarundeep Singh Kalra
    Apr 28, 2004
  2. Swapnajit Mittra
    Replies:
    0
    Views:
    498
    Swapnajit Mittra
    Apr 24, 2005
  3. Swapnajit Mittra
    Replies:
    1
    Views:
    507
    Swapnajit Mittra
    May 27, 2005
  4. Swapnajit Mittra
    Replies:
    0
    Views:
    486
    Swapnajit Mittra
    Jun 23, 2005
  5. FPGASPS
    Replies:
    0
    Views:
    475
    FPGASPS
    Mar 25, 2006
Loading...

Share This Page