Populating a GridView in code

Discussion in 'ASP .Net' started by Greg Smith, Nov 3, 2006.

  1. Greg Smith

    Greg Smith Guest

    I am looking for examples for populating a GridView in code.

    I have a GridView that I want to show unbound when the form opens and then
    filled with different collections of data based on options the user selects.


    Any help is greatly appreciated.
     
    Greg Smith, Nov 3, 2006
    #1
    1. Advertising

  2. The idea is that based on the user selection, you would databind the grid to
    different datasources (collections). You better ask specific questions as
    you go.

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]


    "Greg Smith" <> wrote in message
    news:%23WddSY2$...
    >I am looking for examples for populating a GridView in code.
    >
    > I have a GridView that I want to show unbound when the form opens and then
    > filled with different collections of data based on options the user
    > selects.
    >
    >
    > Any help is greatly appreciated.
    >
     
    Eliyahu Goldin, Nov 5, 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. Replies:
    1
    Views:
    8,865
    =?Utf-8?B?RWx0b24gVw==?=
    Mar 1, 2006
  2. =?Utf-8?B?YmlsbCB0aWU=?=

    problem populating gridView on dropDownList

    =?Utf-8?B?YmlsbCB0aWU=?=, Apr 26, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    614
    Vlad Iliescu
    Apr 27, 2006
  3. Mike P
    Replies:
    0
    Views:
    478
    Mike P
    Jun 2, 2006
  4. Replies:
    6
    Views:
    506
  5. Greg Smith

    Populating a GridView in code

    Greg Smith, Nov 3, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    701
    Greg Smith
    Nov 3, 2006
Loading...

Share This Page