Gridview rowupdating commandargument

Using Template fields with Command Argument and Command Name also fires the fires the same Row Command event on the Data Grid.But the handling of the Grid View Command Argument is quite different.Although the Grid View Command Event Args have a Data Item member that member is unfortunately not set with the Data Row as you would maybe expect.

In the case of a Command Field the Command Argument is the Row Index.Oddly I have no idea why the data item would not be available given that this particular grid is bound to a Data Table which has persistent backing and is live on the form.The problem with the button field is that it's very limited in functionality.Doesn't it seem very redundant to have to go through all of this just to get at the underlying data item?It seems to me that Grid View Event Args could have included a consistent mechanism to expose both the Data Item Index as well as the Data Item itself.

Leave a Reply

  1. christian speed dating memphis 22-Jul-2018 09:05

    » Read more The jack-off club I attended is closed now, which is a pity.

  2. Bengali online sex chat sites 09-Oct-2018 02:47

    The protocols and practices of dating, and the terms used to describe it, vary considerably from country to country and over time.

  3. what is cyberdating 03-Feb-2019 23:01

    Whether you're looking for free cams, adult chat rooms or even webcam porn, you'll find it all right here.

  4. top college dating websites 10-Jan-2019 04:48

    The Vodafone Big Top 40 is syndicated from Global Radio at its Capital studios in London for broadcast on over 145 commercial radio stations across the UK.

  5. dating adriene 05-Aug-2018 22:14

    Single payments for regional advertising of profile (one-time appearance in scrolling banner for – user picture, link, short text for mouseover; bidding war for stationary second banner cost of /minute).