I have a datagrid that I need to get a value out of after it has been populated. I'd prefer it not be dynamic (no clicking). The datagrids final product is a set of headers and one row
Header1| Header2| Header3
Value1 | Value1 | Value1
I'd like to be able to get any value regardless of its position but right now I only need to get the last value from column 3.
I'm using C# and ASP.NET 3.5
My asp.net looks like this:
<asp:Panel runat="server" ID="pnlCheckData" Width="730px">
<asp:GridView DataKeyNames="uniqueName" id="ViewData" DataSourceID="srcView" Runat="server" AllowSorting="false" CellPadding="1" CellSpacing="1" Visible="true" GridLines="Vertical" Font-Size="X-Small">
<AlternatingRowStyle CssClass="alternating" />
</asp:GridView>
</asp:Panel>
<asp:ObjectDataSource id="srcCertificationView" TypeName="CertificationClass" SelectMethod = "GetReportSummaryData" Runat="server">
<SelectParameters>
<asp:ControlParameter Name="datasourceID" ControlID="Selection" />
<asp:ControlParameter Name="Code" ControlID="countrySelection" />
<asp:ControlParameter Name="dateRange" ControlID="dateSelection" />
<asp:ControlParameter Name="dateProcessed" ControlID="MostRecent" />
</SelectParameters>
</asp:ObjectDataSource>