NOOB - How to implement

NOOB - How to implement

pinchaserpinchaser Posts: 1Questions: 1Answers: 0

I am new to programming and have written an app in asp.net, C#. I want to convert existing table to datatables for the sorting and searching ability.

Here is what I have currently:

<

table class="row">
<tr>
<td>
<asp:GridView ID="GVProjects"
runat="server"
AutoGenerateColumns="False"
OnRowCommand="GVProjects_RowCommand"
DataKeyNames="Project_Id"
Width="100%"
OnPageIndexChanging="GVProjects_PageIndexChanging"
CellPadding="4"
GridLines="None"
AllowPaging="True"
PageSize="15"
EmptyDataText="No Records Found"
ShowHeaderWhenEmpty="True"
CssClass="Grid"
AlternatingRowStyle-CssClass="alt"
PagerStyle-CssClass="pgr"
HorizontalAlign="Center">

                <PagerSettings  Mode="Numeric"   
                                FirstPageText="First" 
                                PreviousPageText="Previous" 
                                NextPageText="Next" 
                                LastPageText="Last"  />
                <Columns>
                    <asp:BoundField ItemStyle-HorizontalAlign="Center" 
                                    DataField="Project_Id"  
                                    HeaderText="ID" />

                    <asp:TemplateField  ItemStyle-HorizontalAlign="Center"  
                                        HeaderText="Project" >
                        <ItemTemplate>
                            <asp:LinkButton ID="lbName" 
                                            runat="server" 
                                            Text='<%#Eval("ProjectName")%>' 
                                            PostBackUrl='<%#DataBinder.Eval(Container,"DataItem.Project_Id", "~/QA/ProjectInformation.aspx?ProjectId={0}")%>' ExportOnlyData="false"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>

....

How do I get to where I am using datatables?
Thanks in advance

This discussion has been closed.