Accessing a value from datagrid.

Discussion in 'ASP .Net Datagrid Control' started by Cheong Sin, Mar 3, 2004.

  1. Cheong Sin

    Cheong Sin Guest

    I am kida new to .net programming. I've been looking for a way to access
    datagrid to obtain some values from certain column.

    I understand, you can populate the value in Datagrid using
    <ASP:ColumnTemplate ...... combining with
    DataBinder.Eval(Container.DataItem, Object, "...") ... and so on. Then,
    I can access the value programmatically in code behind. Well, I have
    problem using Container.DataItem, because, the value I am trying to populate
    is not just from an object, it's an arrayList of objects. How can I
    populate the values from an arrayList of objects? Can I substitue Object
    with arrayList? I haven't tried, but I don't think it will work.
    There's gotta be different syntax or class I can use to pupulate the values
    from ArrayList of Object.. Well. please let me know and thanks for your
    help.
    Cheong Sin, Mar 3, 2004
    #1
    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. San Diego Guy
    Replies:
    0
    Views:
    533
    San Diego Guy
    Aug 7, 2003
  2. Eugene
    Replies:
    0
    Views:
    475
    Eugene
    Sep 28, 2004
  3. John Dalberg
    Replies:
    0
    Views:
    372
    John Dalberg
    Dec 20, 2005
  4. amazon otter via .NET 247

    Accessing the value of a cell in a datagrid

    amazon otter via .NET 247, Apr 17, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    111
    Prodip Saha
    Apr 19, 2004
  5. John Dalberg

    How to get key value in a master datagrid from a detail datagrid?

    John Dalberg, Dec 20, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    128
    John Dalberg
    Dec 20, 2005
Loading...

Share This Page