.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
" yc=""><tr>
"><td> <strong> Gender: </ strong> </ td>
Post New Web Links

What is GriviewUpdateEventArgs.newValues

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :ASP.Net
I was trying to update a row in the gridview. Usually we take the row index find the control and get the value, this time i saw e.NewValues, But is not giving me anything This is my gridview mark up <asp:GridView DataKeyNames="Name" ID="grdTeam1" CssClass="gridScore" EnableViewState="true" runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField DataField="ScoreId" Visible="False" /> <asp:BoundField DataField="Name" HeaderText="Player Name" ReadOnly="True" ItemStyle-CssClass="DisplayName" /> <asp:BoundField DataField="team_id" Visible="False" /> <asp:BoundField DataField="BattingPosition" HeaderText="Batting Position" /> <asp:BoundField DataField="Runs" HeaderText="Runs" /> <asp:BoundField DataField="BallsFaced" HeaderText="Balls Faced" /> <asp:BoundField DataField="Fours" HeaderText="Fours" /> <asp:BoundField DataField="Sixers" HeaderText="Sixers" />

View Complete Post

More Related Resource Links

RadioButtonList in FormView EditTemplate's not me behind and OldValue NewValues


Hello people,

I am using FormView component which has a field that is the sex of the person that I am using RadioButtonList with a simple way to show Male and Female, but want to retrieve the information and OldValue NewValues not anything behind me.

In the FormView Edit Template:
" yc=""><! - SEX ->

Gender: " yc="Sexo:   " yc=""><td>
   'RepeatColumns = "2">     " yc="' RepeatColumns="2">"><Asp: RadioButtonList ID = "CHR_SEXORadioButtonList" runat = "server" SelectedValue ='<%# Eval ("CHR_SEXO")%> &#
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend