Programmatically Adding An Item To The DataList

Discussion in 'ASP .Net Web Controls' started by Umut K., Sep 6, 2003.

  1. Umut K.

    Umut K. Guest

    Hi all,
    I've a DataList control and it's DataBound by a SqlDataReader...
    The Reader returns say 3 records and as expected the datalist shows 3 rows.
    What i want to do is to add another extra Record (which is not neccesarily a
    database record..) but it'll be shown up as an ordinary item in the datalist
    rendered as an Item or AlternatingItem ...
    Is there a way to do this?

    Thanks
     
    Umut K., Sep 6, 2003
    #1
    1. Advertisements

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. John Criswell
    Replies:
    1
    Views:
    1,585
    John Criswell
    Jul 24, 2003
  2. Umut K.
    Replies:
    6
    Views:
    1,299
    Umut K.
    Sep 7, 2003
  3. Nevyn Twyll
    Replies:
    8
    Views:
    2,341
  4. Bird
    Replies:
    2
    Views:
    512
    Christopher Reed
    Apr 18, 2006
  5. Joseph T.S.Lim

    Select datagrid item programmatically in ASP.NET

    Joseph T.S.Lim, Jul 1, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    500
    Teemu Keiski
    Jul 1, 2003
  6. David Lozzi

    Adding another item to a completed DataLIst

    David Lozzi, Oct 10, 2005, in forum: ASP .Net Building Controls
    Replies:
    5
    Views:
    329
    Steven Cheng[MSFT]
    Oct 19, 2005
  7. Umut K.

    Programmatically Adding An Item To The DataList

    Umut K., Sep 6, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    6
    Views:
    289
    Umut K.
    Sep 7, 2003
  8. Phil Jones

    Programmatically Building an Item's Content

    Phil Jones, Feb 27, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    283
    Phil Jones
    Mar 1, 2004
Loading...