Professional Web Applications Themes

trying to create data grid on the fly, with templated columns, and then updating all rows in the grid - ASP.NET Data Grid Control

Hi, Please help, I'm trying to create data grid on the fly, with templated columns, for editing, and then updating all rows in the grid on one button click. Thanks, Viren...

  1. #1

    Default trying to create data grid on the fly, with templated columns, and then updating all rows in the grid

    Hi,

    Please help, I'm trying to create data grid on the fly, with templated
    columns, for editing, and then updating all rows in the grid on one button
    click.

    Thanks,

    Viren


    Viren Guest

  2. #2

    Default Re: trying to create data grid on the fly, with templated columns, and then updating all rows in the grid

    To know how to create datagrid dynamically, check out this article.
    [url]http://www.dotnetbips.com/displayarticle.aspx?id=66[/url]

    Creating Datagrid Templated Columns Dynamically
    [url]http://www.dotnetbips.com/displayarticle.aspx?id=84[/url]
    [url]http://www.dotnetbips.com/displayarticle.aspx?id=85[/url]

    To know how to have editable datagrid, check out this article.
    [url]http://www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.asp[/url]
    x

    --
    Saravana
    Microsoft MVP - ASP.NET
    [url]www.extremeexperts.com[/url]



    "Viren" <virenisonome.com> wrote in message
    news:egoSKXLjDHA.2276TK2MSFTNGP10.phx.gbl...
    > Hi,
    >
    > Please help, I'm trying to create data grid on the fly, with templated
    > columns, for editing, and then updating all rows in the grid on one button
    > click.
    >
    > Thanks,
    >
    > Viren
    >
    >

    Saravana [MVP] Guest

  3. #3

    Default Re: trying to create data grid on the fly, with templated columns, and then updating all rows in the grid

    Hi Saravana

    I've tried the links that you forwarded me, and all it does is recreate what
    autogeneratecolums does.

    I'm creating a budgeting interface that would allow for 2 fixed columns,
    with code and description, and "x" no of textbox-filled columns, as per the
    type of budget yearly half-yearly & monthly budgeting.

    The the user can update the multiple rows and send it through to the server.

    If the links, do this, can you please mail through a working example.

    Thanking you in advance,
    Viren

    "Saravana [MVP]" <saravanksct.co.in.nospam> wrote in message
    news:%23u8l$QMjDHA.3568tk2msftngp13.phx.gbl...
    > To know how to create datagrid dynamically, check out this article.
    > [url]http://www.dotnetbips.com/displayarticle.aspx?id=66[/url]
    >
    > Creating Datagrid Templated Columns Dynamically
    > [url]http://www.dotnetbips.com/displayarticle.aspx?id=84[/url]
    > [url]http://www.dotnetbips.com/displayarticle.aspx?id=85[/url]
    >
    > To know how to have editable datagrid, check out this article.
    >
    [url]http://www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.asp[/url]
    > x
    >
    > --
    > Saravana
    > Microsoft MVP - ASP.NET
    > [url]www.extremeexperts.com[/url]
    >
    >
    >
    > "Viren" <virenisonome.com> wrote in message
    > news:egoSKXLjDHA.2276TK2MSFTNGP10.phx.gbl...
    > > Hi,
    > >
    > > Please help, I'm trying to create data grid on the fly, with templated
    > > columns, for editing, and then updating all rows in the grid on one
    button
    > > click.
    > >
    > > Thanks,
    > >
    > > Viren
    > >
    > >
    >
    >

    Viren Guest

  4. #4

    Default Re: trying to create data grid on the fly, with templated columns, and then updating

    For i As Integer = 0 To Session("months")
    ct = New BoundField
    ct.DataField = "m" & i + 1

    GridView1.Columns.Add(ct)
    dt.Columns.Add("m" & i + 1)
    Next
    Prabhu Guest

Similar Threads

  1. Advanced data grid: how to remember expanded rows?
    By omgmatt in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: May 16th, 04:58 AM
  2. Implementing columns collection in Data grid custom control
    By Sundararajan in forum ASP.NET Building Controls
    Replies: 1
    Last Post: March 29th, 01:21 AM
  3. How do you create a drop-down hierarchical Data Grid?
    By Anonieko Ramos in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: November 14th, 11:09 AM
  4. Data grid columns still showing up
    By Angel Fernendez in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: January 28th, 04:28 AM
  5. Scrollable grid with stationary foxed rows/columns
    By Jeremy Chapman in forum ASP.NET Data Grid Control
    Replies: 4
    Last Post: July 29th, 05:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139