Click here to Skip to main content
15,890,982 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey guys I am using a datagrid and i want to code for the button inside the grideview...

this is the ASP.NET code
  <asp:DataGrid ID="dgrdapprovereject" runat="server" AllowPaging="True"
                                                               DataKeyField="ID" CssClass="vutblrow" TabIndex="6"
   AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"  Width="100%"  PagerStyle-Mode="NumericPages"
                                                             >
    <PagerStyle CssClass="pgr" Mode="NumericPages" Height="25px" BorderStyle="Solid" NextPageText="Next" PageButtonCount="20" PrevPageText="Last" />
                                                        <AlternatingItemStyle CssClass="vutblaltrow" />
 <HeaderStyle CssClass="vutblhdr" />
  <ItemStyle CssClass="vutblitemrow" />

<Columns>

<asp:ButtonColumn HeaderText="Submit" ButtonType="LinkButton" Text="Submit" >
</asp:ButtonColumn>
</Columns>
</Datagrid>


I really dont know how to create an event for the submit button inside my datagrid.Pls help :(
Posted
Updated 11-Sep-13 6:24am
v2

1 solution

 
Share this answer
 

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