<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ASPNetRealWorldContr Forum Rss Feed</title><link>http://www.codeplex.com/ASPNetRealWorldContr/Project/ListForums.aspx</link><description>ASPNetRealWorldContr Forum Rss Description</description><item><title>New Post: Saving data</title><link>http://aspnetrealworldcontr.codeplex.com/discussions/360835</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Resolved...&lt;/p&gt;
&lt;p&gt;I figured out how to do the shifting using Javascript on the client side instead and now I am able to shift the cells left without effecting the rest of the changes.&lt;/p&gt;&lt;/div&gt;</description><author>Scubaboy</author><pubDate>Tue, 26 Jun 2012 20:41:37 GMT</pubDate><guid isPermaLink="false">New Post: Saving data 20120626084137P</guid></item><item><title>New Post: Saving data</title><link>http://aspnetrealworldcontr.codeplex.com/discussions/360835</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have everything working as it should except I went a little further and added a button to each row which allows me to delete the contents of the textbox&amp;nbsp;of the first column and shift the contents of each texbox in that row to the left by one column.&amp;nbsp;
 When I do this, I then update the last textbox with a new value and hit the Save button.&amp;nbsp; However, when I hit the save button, that row gets saved fine but&amp;nbsp;everything else&amp;nbsp;I changed throughout the rest of the gridview does not save.&amp;nbsp; I
 have tried a Javascript which would call the Save button first before shifting the cells, but that doesn't seem to work either.&amp;nbsp; Does anyone have any idea how I can save the contents of the gridview first before shifting the contents to the left for a
 particular row?&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline"&gt;ASPX&lt;/span&gt;&lt;/p&gt;
&lt;div style="background-color:white; color:black"&gt;
&lt;pre&gt;&amp;lt;script type=&lt;span style="color:#a31515"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt; 
        function ClickButton() 
        { 
            document.getElementById(&lt;span style="color:#a31515"&gt;'SaveButton'&lt;/span&gt;).click(); 
        } 
&amp;lt;/script&amp;gt; 
 
&amp;lt;asp:Button ID=&lt;span style="color:#a31515"&gt;&amp;quot;SaveButton&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;&amp;quot;Update&amp;quot;&lt;/span&gt; /&amp;gt; 
        &amp;lt;Grids:BulkEditGridView ID=&lt;span style="color:#a31515"&gt;&amp;quot;EditableGrid&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; AllowSorting=&lt;span style="color:#a31515"&gt;&amp;quot;True&amp;quot;&lt;/span&gt; AutoGenerateColumns=&lt;span style="color:#a31515"&gt;&amp;quot;False&amp;quot;&lt;/span&gt; 
            DataKeyNames=&lt;span style="color:#a31515"&gt;&amp;quot;Id&amp;quot;&lt;/span&gt; DataSourceID=&lt;span style="color:#a31515"&gt;&amp;quot;ScoresDataSource&amp;quot;&lt;/span&gt; OnRowDataBound=&lt;span style="color:#a31515"&gt;&amp;quot;EditableGrid_RowDataBound&amp;quot;&lt;/span&gt; 
            SaveButtonID=&lt;span style="color:#a31515"&gt;&amp;quot;SaveButton&amp;quot;&lt;/span&gt; OnRowCommand=&lt;span style="color:#a31515"&gt;&amp;quot;EditableGrid_RowCommand&amp;quot;&lt;/span&gt;&amp;gt; 
            &amp;lt;Columns&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Action&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:Button ID=&lt;span style="color:#a31515"&gt;&amp;quot;ShiftScore&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;&amp;quot;Drop Oldest Round&amp;quot;&lt;/span&gt; OnClientClick=&lt;span style="color:#a31515"&gt;&amp;quot;ClickButton()&amp;quot;&lt;/span&gt; 
                            CommandName=&lt;span style="color:#a31515"&gt;&amp;quot;Shift&amp;quot;&lt;/span&gt; CommandArgument=&lt;span style="color:#a31515"&gt;&amp;quot;&amp;lt;%# ((GridViewRow) Container).RowIndex %&amp;gt;&amp;quot;&lt;/span&gt; 
                            Enabled=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Eval(&amp;quot;Score5&amp;quot;).ToString() != &amp;quot;0&amp;quot; %&amp;gt;'&lt;/span&gt; /&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField Visible=&lt;span style="color:#a31515"&gt;&amp;quot;False&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;IdTextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Id&amp;quot;) %&amp;gt;'&lt;/span&gt; ReadOnly=&lt;span style="color:#a31515"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Name&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Member.LastName&amp;quot;&lt;/span&gt; &amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;%# Eval(&lt;span style="color:#a31515"&gt;&amp;quot;Member.LastName&amp;quot;&lt;/span&gt;) %&amp;gt;, 
                        &amp;lt;%# Eval(&lt;span style="color:#a31515"&gt;&amp;quot;Member.FirstName&amp;quot;&lt;/span&gt;) %&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Current Member&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Member.CurrentMember&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:Label ID=&lt;span style="color:#a31515"&gt;&amp;quot;lblCurrentMember&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Eval(&amp;quot;Member.CurrentMember&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:Label&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Best Score&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;BestScore&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;BestScoreTextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;BestScore&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Round 1&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Score1&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;Score1TextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Score1&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Round 2&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Score2&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;Score2TextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Score2&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Round 3&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Score3&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;Score3TextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Score3&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Round 4&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Score4&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;Score4TextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Score4&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Round 5&amp;quot;&lt;/span&gt; SortExpression=&lt;span style="color:#a31515"&gt;&amp;quot;Score5&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:TextBox ID=&lt;span style="color:#a31515"&gt;&amp;quot;Score5TextBox&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; MaxLength=&lt;span style="color:#a31515"&gt;&amp;quot;3&amp;quot;&lt;/span&gt; Text=&lt;span style="color:#a31515"&gt;'&amp;lt;%# Bind(&amp;quot;Score5&amp;quot;) %&amp;gt;'&lt;/span&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
                &amp;lt;asp:TemplateField HeaderText=&lt;span style="color:#a31515"&gt;&amp;quot;Handicap&amp;quot;&lt;/span&gt;&amp;gt; 
                    &amp;lt;ItemTemplate&amp;gt; 
                        &amp;lt;asp:Label ID=&lt;span style="color:#a31515"&gt;&amp;quot;lblHandicap&amp;quot;&lt;/span&gt; runat=&lt;span style="color:#a31515"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/asp:Label&amp;gt; 
                    &amp;lt;/ItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt; 
            &amp;lt;/Columns&amp;gt; 
        &amp;lt;/Grids:BulkEditGridView&amp;gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;span style="text-decoration:underline"&gt;Code Behind&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;div style="background-color:white; color:black"&gt;&lt;pre&gt;&lt;span style="color:blue"&gt;public &lt;/span&gt;&lt;span style="color:blue"&gt;partial&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; Management_ScoresAdmin : System.Web.UI.Page 
{ 
    &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, EventArgs e) 
    { 
        &lt;span style="color:blue"&gt;if&lt;/span&gt; (!IsPostBack) 
        { 
            EditableGrid.Sort(&lt;span style="color:#a31515"&gt;&amp;quot;Member.LastName&amp;quot;&lt;/span&gt;, SortDirection.Ascending); 
        } 
    } 
 
     
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; BulkEditGridView : System.Web.UI.WebControls.GridView 
    { 
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; GridViewRow CreateRow(&lt;span style="color:blue"&gt;int&lt;/span&gt; rowIndex, &lt;span style="color:blue"&gt;int&lt;/span&gt; dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState) 
        { 
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;base&lt;/span&gt;.CreateRow(rowIndex, dataSourceIndex, rowType, rowState | DataControlRowState.Edit); 
        } 
 
        [IDReferenceProperty(&lt;span style="color:blue"&gt;typeof&lt;/span&gt;(Control))] 
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; SaveButtonID 
        { 
            &lt;span style="color:blue"&gt;get&lt;/span&gt; 
            { 
                &lt;span style="color:blue"&gt;string&lt;/span&gt; val = (&lt;span style="color:blue"&gt;string&lt;/span&gt;)&lt;span style="color:blue"&gt;this&lt;/span&gt;.ViewState[&lt;span style="color:#a31515"&gt;&amp;quot;SaveButtonID&amp;quot;&lt;/span&gt;]; 
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (val == &lt;span style="color:blue"&gt;null&lt;/span&gt;) 
                { 
                    &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt;.Empty; 
                } 
                &lt;span style="color:blue"&gt;return&lt;/span&gt; val; 
            } 
            &lt;span style="color:blue"&gt;set&lt;/span&gt; 
            { 
                &lt;span style="color:blue"&gt;this&lt;/span&gt;.ViewState[&lt;span style="color:#a31515"&gt;&amp;quot;SaveButtonID&amp;quot;&lt;/span&gt;] = value; 
            } 
        } 
 
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; OnLoad(EventArgs e) 
        { 
            &lt;span style="color:blue"&gt;base&lt;/span&gt;.OnLoad(e); 
 
            &lt;span style="color:green"&gt;//Attach an event handler to the save button. &lt;/span&gt;
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (&lt;span style="color:blue"&gt;false&lt;/span&gt; == &lt;span style="color:blue"&gt;string&lt;/span&gt;.IsNullOrEmpty(&lt;span style="color:blue"&gt;this&lt;/span&gt;.SaveButtonID)) 
            { 
                Control btn = RecursiveFindControl(&lt;span style="color:blue"&gt;this&lt;/span&gt;.NamingContainer, &lt;span style="color:blue"&gt;this&lt;/span&gt;.SaveButtonID); 
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (&lt;span style="color:blue"&gt;null&lt;/span&gt; != btn) 
                { 
                    &lt;span style="color:blue"&gt;if&lt;/span&gt; (btn &lt;span style="color:blue"&gt;is&lt;/span&gt; Button) 
                    { 
                        ((Button)btn).Click &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; EventHandler(SaveClicked); 
                    } 
                    &lt;span style="color:blue"&gt;else&lt;/span&gt; &lt;span style="color:blue"&gt;if&lt;/span&gt; (btn &lt;span style="color:blue"&gt;is&lt;/span&gt; LinkButton) 
                    { 
                        ((LinkButton)btn).Click &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; EventHandler(SaveClicked); 
                    } 
                    &lt;span style="color:blue"&gt;else&lt;/span&gt; &lt;span style="color:blue"&gt;if&lt;/span&gt; (btn &lt;span style="color:blue"&gt;is&lt;/span&gt; ImageButton) 
                    { 
                        ((ImageButton)btn).Click &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; ImageClickEventHandler(SaveClicked); 
                    } 
 
                    &lt;span style="color:green"&gt;//add more button types here. &lt;/span&gt;
                } 
            } 
        } 
 
        &lt;span style="color:blue"&gt;private&lt;/span&gt; Control RecursiveFindControl(Control namingcontainer, &lt;span style="color:blue"&gt;string&lt;/span&gt; controlName) 
        { 
            Control c = namingcontainer.FindControl(controlName); 
 
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (c != &lt;span style="color:blue"&gt;null&lt;/span&gt;) 
                &lt;span style="color:blue"&gt;return&lt;/span&gt; c; 
 
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (namingcontainer.NamingContainer != &lt;span style="color:blue"&gt;null&lt;/span&gt;) 
                &lt;span style="color:blue"&gt;return&lt;/span&gt; RecursiveFindControl(namingcontainer.NamingContainer, controlName); 
 
            &lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;null&lt;/span&gt;; 
        } 
 
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; SaveClicked(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, EventArgs e) 
        { 
            &lt;span style="color:blue"&gt;this&lt;/span&gt;.Save(); 
            &lt;span style="color:blue"&gt;this&lt;/span&gt;.DataBind(); 
        } 
 
        &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;override&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; InitializeRow(GridViewRow row, DataControlField[] fields) 
        { 
            &lt;span style="color:blue"&gt;base&lt;/span&gt;.InitializeRow(row, fields); 
            &lt;span style="color:blue"&gt;foreach&lt;/span&gt; (DataControlFieldCell cell &lt;span style="color:blue"&gt;in&lt;/span&gt; row.Cells) 
            { 
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (cell.Controls.Count &amp;gt; 0) 
                { 
                    AddChangedHandlers(cell.Controls); 
                } 
            } 
        } 
 
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; AddChangedHandlers(ControlCollection controls) 
        { 
            &lt;span style="color:blue"&gt;foreach&lt;/span&gt; (Control ctrl &lt;span style="color:blue"&gt;in&lt;/span&gt; controls) 
            { 
                &lt;span style="color:blue"&gt;if&lt;/span&gt; (ctrl &lt;span style="color:blue"&gt;is&lt;/span&gt; TextBox) 
                { 
                    ((TextBox)ctrl).TextChanged &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; EventHandler(&lt;span style="color:blue"&gt;this&lt;/span&gt;.HandleRowChanged); 
                } 
                &lt;span style="color:blue"&gt;else&lt;/span&gt; &lt;span style="color:blue"&gt;if&lt;/span&gt; (ctrl &lt;span style="color:blue"&gt;is&lt;/span&gt; CheckBox) 
                { 
                    ((CheckBox)ctrl).CheckedChanged &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; EventHandler(&lt;span style="color:blue"&gt;this&lt;/span&gt;.HandleRowChanged); 
                } 
                &lt;span style="color:blue"&gt;else&lt;/span&gt; &lt;span style="color:blue"&gt;if&lt;/span&gt; (ctrl &lt;span style="color:blue"&gt;is&lt;/span&gt; DropDownList) 
                { 
                    ((DropDownList)ctrl).SelectedIndexChanged &amp;#43;= &lt;span style="color:blue"&gt;new&lt;/span&gt; EventHandler(&lt;span style="color:blue"&gt;this&lt;/span&gt;.HandleRowChanged); 
                } 
            } 
        } 
 
        &lt;span style="color:blue"&gt;void&lt;/span&gt; HandleRowChanged(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, EventArgs args) 
        { 
            GridViewRow row = ((Control)sender).NamingContainer &lt;span style="color:blue"&gt;as&lt;/span&gt; GridViewRow; 
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (&lt;span style="color:blue"&gt;null&lt;/span&gt; != row &amp;amp;&amp;amp; !dirtyRows.Contains(row.RowIndex)) 
            { 
                dirtyRows.Add(row.RowIndex); 
            } 
        } 
 
        &lt;span style="color:blue"&gt;private&lt;/span&gt; List&amp;lt;&lt;span style="color:blue"&gt;int&lt;/span&gt;&amp;gt; dirtyRows = &lt;span style="color:blue"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:blue"&gt;int&lt;/span&gt;&amp;gt;(); 
 
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Save() 
        { 
            &lt;span style="color:blue"&gt;foreach&lt;/span&gt; (&lt;span style="color:blue"&gt;int&lt;/span&gt; row &lt;span style="color:blue"&gt;in&lt;/span&gt; dirtyRows) 
            { 
                &lt;span style="color:blue"&gt;this&lt;/span&gt;.UpdateRow(row, &lt;span style="color:blue"&gt;false&lt;/span&gt;); 
            } 
 
            dirtyRows.Clear(); 
        } 
    } 
 
    &lt;span style="color:green"&gt;// Control the Shift Button in the Scores GridView &lt;/span&gt;
    &lt;span style="color:blue"&gt;protected&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; EditableGrid_RowCommand(&lt;span style="color:blue"&gt;object&lt;/span&gt; sender, GridViewCommandEventArgs e) 
    { 
        &lt;span style="color:blue"&gt;if&lt;/span&gt; (e.CommandName == &lt;span style="color:#a31515"&gt;&amp;quot;Shift&amp;quot;&lt;/span&gt;) 
        { 
            &lt;span style="color:green"&gt;// Retrieve the row index stored in the  &lt;/span&gt;
            &lt;span style="color:green"&gt;// CommandArgument property. &lt;/span&gt;
            &lt;span style="color:blue"&gt;int&lt;/span&gt; index = Convert.ToInt32(e.CommandArgument); 
 
            &lt;span style="color:green"&gt;// Retrieve the row that contains the button  &lt;/span&gt;
            &lt;span style="color:green"&gt;// from the Rows collection. &lt;/span&gt;
            GridViewRow row = EditableGrid.Rows[index]; 
 
            &lt;span style="color:blue"&gt;string&lt;/span&gt; s2 = ((TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score2TextBox&amp;quot;&lt;/span&gt;)).Text; 
            &lt;span style="color:blue"&gt;string&lt;/span&gt; s3 = ((TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score3TextBox&amp;quot;&lt;/span&gt;)).Text; 
            &lt;span style="color:blue"&gt;string&lt;/span&gt; s4 = ((TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score4TextBox&amp;quot;&lt;/span&gt;)).Text; 
            &lt;span style="color:blue"&gt;string&lt;/span&gt; s5 = ((TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score5TextBox&amp;quot;&lt;/span&gt;)).Text; 
 
            TextBox newScore1 = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score1TextBox&amp;quot;&lt;/span&gt;); 
            TextBox newScore2 = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score2TextBox&amp;quot;&lt;/span&gt;); 
            TextBox newScore3 = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score3TextBox&amp;quot;&lt;/span&gt;); 
            TextBox newScore4 = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score4TextBox&amp;quot;&lt;/span&gt;); 
            TextBox newScore5 = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score5TextBox&amp;quot;&lt;/span&gt;); 
 
            newScore1.Text = s2; 
            newScore2.Text = s3; 
            newScore3.Text = s4; 
            newScore4.Text = s5; 
            newScore5.Text = &lt;span style="color:blue"&gt;null&lt;/span&gt;; 
 
            &lt;span style="color:green"&gt;// Sets focus on the Round 5 textbox &lt;/span&gt;
            Control c = &lt;span style="color:blue"&gt;new&lt;/span&gt; Control(); 
            c = (TextBox)row.FindControl(&lt;span style="color:#a31515"&gt;&amp;quot;Score5TextBox&amp;quot;&lt;/span&gt;); 
            &lt;span style="color:blue"&gt;this&lt;/span&gt;.SetFocus(c); 
        } 
    } 
 }
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style="background-color:white; color:black"&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>Scubaboy</author><pubDate>Mon, 25 Jun 2012 16:26:47 GMT</pubDate><guid isPermaLink="false">New Post: Saving data 20120625042647P</guid></item><item><title>New Post: Using DataFormatStrings on bound fields and template field controls</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=80231</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Has anyone encountered an issue using DataFormatStrings with the BulkEditGridView? When I attempt to use bound fields, or template fields with controls the use the &amp;quot;BIND&amp;quot; syntax, my data loads correctly, but does not save correctly. I receive an &amp;quot;Input String Format Error&amp;quot;. I have tracked it down to the BulkEditGridView not removing the DataFormatString (in this case the Currency format - '$xx.xx') before calling the UpdateRow function. To note, I am using the BulkEditGridView inside an ASP.Net AJAX update panel.&lt;/p&gt;
&lt;p&gt;Thanks for your time,&lt;/p&gt;
&lt;p&gt;Everett&lt;/p&gt;&lt;/div&gt;</description><author>everettcomstock</author><pubDate>Fri, 08 Jan 2010 21:49:06 GMT</pubDate><guid isPermaLink="false">New Post: Using DataFormatStrings on bound fields and template field controls 20100108094906P</guid></item><item><title>New Post: Row not found or changed.</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=76284</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;hi i a getting the error Row not found or changed.(linq datasource)&lt;/p&gt;
&lt;p&gt;System .Data .Linq .ChangeConflictException&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;what is the error ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;P.Muthu raj&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Thu, 26 Nov 2009 04:41:43 GMT</pubDate><guid isPermaLink="false">New Post: Row not found or changed. 20091126044143A</guid></item><item><title>New Post: How to set programatically set Bindcolumn  in Bulk Edi Gridview </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=75552</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;How to set programatically set Bindcolumn&amp;nbsp; in Bulk Edi Gridview;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;p.Muthu Raj&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Thu, 19 Nov 2009 03:57:24 GMT</pubDate><guid isPermaLink="false">New Post: How to set programatically set Bindcolumn  in Bulk Edi Gridview  20091119035724A</guid></item><item><title>New Post: Updating Populated BulkEditGridViews</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=73964</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'm trying to update with a bulkeditgridview that has been populated with information from other controls.&amp;nbsp; I assume that the reason it won't update when the user clicks on the &amp;quot;save button&amp;quot; is because none of the cells have been edited and marked &amp;quot;dirty.&amp;quot;&lt;/p&gt;
&lt;p&gt;Is there any way I can get around this and &amp;quot;save&amp;quot; this data as I would like?&lt;br&gt;&lt;br&gt;I need to update the data in the database so that the values that I populated the gridview with are entered into the database.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;Matt&lt;/p&gt;&lt;/div&gt;</description><author>mutz2zo</author><pubDate>Tue, 03 Nov 2009 20:43:49 GMT</pubDate><guid isPermaLink="false">New Post: Updating Populated BulkEditGridViews 20091103084349P</guid></item><item><title>New Post: BulkGrid</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=70530</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hai help me out for this problem&lt;/p&gt;
&lt;p&gt;I am using BulkGrid.. when i entered some data(ex.05/10/1985) inside grid then i cleared data, eventhough it is considering as new row/Dirty Rows.&lt;/p&gt;
&lt;p&gt;How to Solve this&lt;/p&gt;&lt;/div&gt;</description><author>manojkiean</author><pubDate>Wed, 30 Sep 2009 06:29:58 GMT</pubDate><guid isPermaLink="false">New Post: BulkGrid 20090930062958A</guid></item><item><title>New Post:  ASP.NET Real World Controls Grouping Gridview</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=70436</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;ASP.NET Real World Controls&lt;/p&gt;
&lt;p&gt;Grouping Gridview&amp;nbsp; (Grouping.aspx;) Featch Datas from db only; Not Updating ,Inserting ; How to achive this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By&lt;/p&gt;
&lt;p&gt;P.Muthu Raj&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Tue, 29 Sep 2009 10:13:30 GMT</pubDate><guid isPermaLink="false">New Post:  ASP.NET Real World Controls Grouping Gridview 20090929101330A</guid></item><item><title>New Post: GroupingGridView </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=70417</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GroupingGridView only Fetching Data from db; Not insert ,Updating like BulkEditGridView&lt;/p&gt;
&lt;p&gt;How To Achive This?&lt;/p&gt;
&lt;p&gt;By&lt;/p&gt;
&lt;p&gt;P.Muthu Raj&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Tue, 29 Sep 2009 06:31:06 GMT</pubDate><guid isPermaLink="false">New Post: GroupingGridView  20090929063106A</guid></item><item><title>New Post: How to use update parametes in in Bulk edit Grid View </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=61551</link><description>&lt;div style="line-height: normal;"&gt;&lt;table style="width:100%" border=0 cellspacing=0 cellpadding=0&gt;
&lt;tbody&gt;
&lt;tr id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_PostPanel"&gt;
&lt;td id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_PostDetailsCell" style="border-top-width:1px;border-right:#bbb 1px solid;border-left-width:1px;border-left-color:#bbb;border-bottom-width:1px;border-bottom-color:#bbb;vertical-align:top;border-top-color:#bbb"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td style="vertical-align:top;width:100%"&gt;
&lt;div&gt;&amp;nbsp;
&lt;div id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_BodyPanel"&gt;
&lt;table border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_BodyDiv"&gt;
&lt;p&gt;I am using Bulk edit Gridview; Iam using Dropdown list inside agrid View( It is set as autopostback=true),text boxes (all of them are inside Insert item Template);&lt;br&gt;If i first change some Changes n text box then finally i change dropdown list , it is not Consider as dirty Row? (Dirty Rows.Count=0)&lt;/p&gt;
&lt;p&gt;How To save this row?&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Fri, 25 Sep 2009 04:06:15 GMT</pubDate><guid isPermaLink="false">New Post: How to use update parametes in in Bulk edit Grid View  20090925040615A</guid></item><item><title>New Post: bulkeditgridview with read only columns problem</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=69788</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;sorry but i dont understand your answer or what you mean with it...&lt;/p&gt;
&lt;p&gt;please explain it more...&lt;/p&gt;
&lt;p&gt;here are more details of my project, hope the can help:&lt;/p&gt;
&lt;p&gt;the bulkeditgridview has some of its columns (boundfields) that are read only = true and visible = true&lt;/p&gt;
&lt;p&gt;but depending on some conditions, some of this read only column are setted as read only = false to be modified...&lt;/p&gt;
&lt;p&gt;the problem is that when i press the update button, the columns that were modified update well but the other setted as read only = true, erase all its values an take the default value of the update parameter...&lt;/p&gt;
&lt;p&gt;so my problem is that i want to update only the boundfields setted as read only = false and the others ones (the read only = true) keep the values...&lt;/p&gt;&lt;/div&gt;</description><author>beren04</author><pubDate>Thu, 24 Sep 2009 14:34:33 GMT</pubDate><guid isPermaLink="false">New Post: bulkeditgridview with read only columns problem 20090924023433P</guid></item><item><title>New Post:  Bulk edit Gridview With DropDown List</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=69979</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am using Bulk edit Gridview; Iam using Dropdown list inside agrid View( It is set as autopostback=true),text boxes (all of them are inside Insert item Template);&lt;br&gt;If i first change some Changes n text box then finally i change dropdown list , it is not Consider as dirty Row? (Dirty Rows.Count=0)&lt;/p&gt;
&lt;p&gt;How To save this row?&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Thu, 24 Sep 2009 14:06:00 GMT</pubDate><guid isPermaLink="false">New Post:  Bulk edit Gridview With DropDown List 20090924020600P</guid></item><item><title>New Post: bulkeditgridview with read only columns problem</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=69788</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi If u set Ready only =true aned set visible =false &amp;nbsp;means it not working; u set &lt;span style="font-size:x-small;color:#ff0000"&gt;onkeypress&lt;/span&gt;&lt;span style="font-size:x-small;color:#0000ff"&gt;=&amp;quot;return false&amp;quot; ;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Thu, 24 Sep 2009 14:02:15 GMT</pubDate><guid isPermaLink="false">New Post: bulkeditgridview with read only columns problem 20090924020215P</guid></item><item><title>New Post: RealWorld.Grids does not have a strong name</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=65341</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Talsja,&lt;/p&gt;
&lt;p&gt;just download the source code and recompile it with your own Strong Name key.&lt;/p&gt;&lt;/div&gt;</description><author>Kai</author><pubDate>Wed, 23 Sep 2009 14:16:23 GMT</pubDate><guid isPermaLink="false">New Post: RealWorld.Grids does not have a strong name 20090923021623P</guid></item><item><title>New Post: bulkeditgridview with read only columns problem</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=69788</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;i have a bulkeditgridview in my project that has some of its columns setted as read only by code, the problem is when i want to update some of the others columns, the read only ones take the dafault value of the update parameters...&lt;/p&gt;
&lt;p&gt;how can they being updated if they are read only???&lt;/p&gt;
&lt;p&gt;sorry for my english...&lt;/p&gt;&lt;/div&gt;</description><author>beren04</author><pubDate>Wed, 23 Sep 2009 01:42:51 GMT</pubDate><guid isPermaLink="false">New Post: bulkeditgridview with read only columns problem 20090923014251A</guid></item><item><title>New Post: RealWorld.Grids does not have a strong name</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=65341</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have a signed project&amp;nbsp; and added a reference to the realworld.grids. Now i get an error saying Referenced assembly RealWorld.Grids does not have a strong name.&lt;/p&gt;
&lt;p&gt;Does anyone know how i can sign my project with realworld.grids with a strong name?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanx&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Talsja&lt;/p&gt;&lt;/div&gt;</description><author>talsja</author><pubDate>Wed, 12 Aug 2009 14:20:34 GMT</pubDate><guid isPermaLink="false">New Post: RealWorld.Grids does not have a strong name 20090812022034P</guid></item><item><title>New Post: Bulk edit Gridview</title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=63943</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Bulk edit Gridview not find more tahn 150 Rows with colums count 34;&lt;/p&gt;
&lt;p&gt;Iam using Bulk edit Gridview not for Attendance Entry;; For 150 Rows it takk 3 to 4 minuts;;But i need to bind 1000 to 15000 employees;Fot this Scenerio&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Gridview not bind datas;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How ?&lt;/p&gt;
&lt;p&gt;By&lt;/p&gt;
&lt;p&gt;P.Muthu raj&lt;/p&gt;
&lt;p&gt;l id;Muthuraj.net@gmail.com&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Thu, 30 Jul 2009 01:23:34 GMT</pubDate><guid isPermaLink="false">New Post: Bulk edit Gridview 20090730012334A</guid></item><item><title>New Post: How to use update parametes in in Bulk edit Grid View </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=61551</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp; &lt;a id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl02_UserNameLink" href="http://www.codeplex.com/site/users/view/kcaswick"&gt;kcaswick&lt;/a&gt;; It is Worked Fine&lt;/p&gt;
&lt;p&gt;My mail. id is&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:muthuraj.net@gmail.com"&gt;muthuraj.net@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by&lt;/p&gt;
&lt;p&gt;P.Muthu Raj&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Sat, 25 Jul 2009 06:29:50 GMT</pubDate><guid isPermaLink="false">New Post: How to use update parametes in in Bulk edit Grid View  20090725062950A</guid></item><item><title>New Post: How to use update parametes in in Bulk edit Grid View </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=61551</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Try modifying e.NewValues instead. For example:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;e.NewValues[&lt;span style="color:#A31515"&gt;&amp;quot;vpdLstModiBy&amp;quot;&lt;/span&gt;] = _ModifiedBy;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>kcaswick</author><pubDate>Wed, 08 Jul 2009 20:55:07 GMT</pubDate><guid isPermaLink="false">New Post: How to use update parametes in in Bulk edit Grid View  20090708085507P</guid></item><item><title>New Post: How to use update parametes in in Bulk edit Grid View </title><link>http://aspnetrealworldcontr.codeplex.com/Thread/View.aspx?ThreadId=61551</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;How to use update parametes in in Bulk edit Grid View&lt;/p&gt;
&lt;p&gt;Ex&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdApprovedDt&amp;quot;].DefaultValue = System.DateTime.Now.ToString();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it Is Not updated in databse&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Beriefly&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;protected void EditableGrid_RowUpdating(object sender, GridViewUpdateEventArgs e)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdLstModiBy&amp;quot;].DefaultValue = _ModifiedBy;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdApprovedBy&amp;quot;].DefaultValue = _ApprovedBy;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdEntryStatus&amp;quot;].DefaultValue = &amp;quot;A&amp;quot;;// ENTRY_STATUS.ToString();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdLstModiDt&amp;quot;].DefaultValue = System.DateTime.Now.ToString();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataSrcBulkGrid.UpdateParameters[&amp;quot;vpdApprovedDt&amp;quot;].DefaultValue = System.DateTime.Now.ToString();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But Isert parametes are inserts correctly ; But update parametes not working&lt;/p&gt;&lt;/div&gt;</description><author>muthurajnet</author><pubDate>Mon, 06 Jul 2009 06:24:44 GMT</pubDate><guid isPermaLink="false">New Post: How to use update parametes in in Bulk edit Grid View  20090706062444A</guid></item></channel></rss>