How to access a selected Boundfield value from a GridView in code-behind
问题 I have seen similar questions but none of the answers helped me to workout this problem. I have GridView with a ReadOnly field as follow. GridView: <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="projectID" DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display." PageSize="5" OnRowUpdating="GridView1_RowUpdating"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True"/> <asp:BoundField