Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Now,there are two Coloumns As
XML
<asp:BoundField DataField="PageName" HeaderText="名称" HeaderStyle-HorizontalAlign="Left"> </asp:BoundField>
<asp:BoundField DataField="Path" HeaderText="路径" HeaderStyle-HorizontalAlign="Left">

So how can I get cell's value by function ExtractValuesFromCell on GridView_RowUpdating Event ?
C#
GridViewMenu.Columns[3].ExtractValuesFromCell(e.NewValues, row.Cells[3] as DataControlFieldCell, DataControlRowState.Edit, false);
 GridViewMenu.Columns[4].ExtractValuesFromCell(e.NewValues, row.Cells[4] as DataControlFieldCell, DataControlRowState.Edit, false);</pre>

ExtractValuesFromCell how to store thoese values?
Posted

1 solution

 
Share this answer
 
v2
Comments
Toater 18-Jul-13 21:25pm    
Thank you。 Those values just append to 【 e.NewValues 】list.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900