Binding a DropDownList in a DataGrid

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Binding a DropDownList in a DataGrid

    none of these links to INDIA work...


    "Saravana" <saravank@sct.co.in> wrote in message
    news:O0#0lqDRDHA.3796@tk2msftngp13.phx.gbl...
    > Check out this article, this might help you.
    >
    [url]http://www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.asp[/url]
    > x
    >
    > --
    > Saravana
    > Microsoft India Community Star,
    > MCAD,SE,SD,DBA.
    >
    >
    > "Gandalf" <gandalf@sauron.com> wrote in message
    > news:#ouRKJ#QDHA.2676@TK2MSFTNGP10.phx.gbl...
    > > This is not the old question of how to a populate and read the values
    from
    > a
    > > DropDownList in a DataGrid, I know how to do all that. My problem is,
    how
    > do
    > > I bind the selected value in a DropDownList to the DataGrid's DataSource
    > in
    > > such a way that I can determine if changes have been made to a row. I
    want
    > > to be able to do something like ...
    > >
    > > [C#]
    > > DataTable MyTable =
    > > ((DataTable)MyDataGrid.DataSource).GetChanges(Data RowState.Modified);
    > >
    > > TIA
    > > --
    > >
    > >
    > >
    >
    >
    >

    David Waz... Guest

  2. Similar Questions and Discussions

    1. Binding an array to a DropDownList
      Hi all, I'd like to bind an array to a DropDownList and use the array index as the DataValueField. Is this possible? Thanks, Paul
    2. Binding problem with DropDownList? (repost)
      I have been pulling my hair out (what is left of it) for a few days trying to figure out what is wrong with this.. I have a repeater control that...
    3. dropdownlist in a datagrid
      I thought I saw this somewhere, but I want to have a dropdownlist in a datagrid. I have the column as an Item template, but when I paste in the...
    4. binding datasource to dropdownlist control
      I am being sent an ArrayList of ListItems. I can bind to a dropdownlist control using: oDropDownList.DataSource = oArrayList This works but...
    5. Error Binding DropDownList on EditItem Command of DataGrid Control
      I am sure this has come up before, but I haven't been able to find an answer as of yet. That said, any help is definitely appreciated! I have a...
  3. #2

    Default Re: Binding a DropDownList in a DataGrid

    Thank you. It took a lot of registering but I finally got it. Now to read
    it! ;-)

    --

    "Saravana" <saravank@sct.co.in> wrote in message
    news:ucDJaYQRDHA.560@TK2MSFTNGP10.phx.gbl...
    > It is aspx page not asp page,
    > [url]www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.aspx[/url]
    >
    >
    > --
    > Saravana
    > Microsoft India Community Star,
    > MCAD,SE,SD,DBA.
    >
    >
    > "Saravana" <saravank@sct.co.in> wrote in message
    > news:eTPepXQRDHA.940@TK2MSFTNGP11.phx.gbl...
    > > check this out..
    > > http://>
    > > --
    > > Saravana
    > > Microsoft India Community Star,
    > > MCAD,SE,SD,DBA.
    > >
    > >
    > > "Saravana" <saravank@sct.co.in> wrote in message
    > > news:O0#0lqDRDHA.3796@tk2msftngp13.phx.gbl...
    > > > Check out this article, this might help you.
    > > >
    > >
    >
    [url]http://www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.asp[/url]
    > > > x
    > > >
    > > > --
    > > > Saravana
    > > > Microsoft India Community Star,
    > > > MCAD,SE,SD,DBA.
    > > >
    > > >
    > > > "Gandalf" <gandalf@sauron.com> wrote in message
    > > > news:#ouRKJ#QDHA.2676@TK2MSFTNGP10.phx.gbl...
    > > > > This is not the old question of how to a populate and read the
    values
    > > from
    > > > a
    > > > > DropDownList in a DataGrid, I know how to do all that. My problem
    is,
    > > how
    > > > do
    > > > > I bind the selected value in a DropDownList to the DataGrid's
    > DataSource
    > > > in
    > > > > such a way that I can determine if changes have been made to a row.
    I
    > > want
    > > > > to be able to do something like ...
    > > > >
    > > > > [C#]
    > > > > DataTable MyTable =
    > > > >
    ((DataTable)MyDataGrid.DataSource).GetChanges(Data RowState.Modified);
    > > > >
    > > > > TIA
    > > > > --
    > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Gandalf Guest

Posting Permissions

  • You may not post new threads
  • You may 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