Ramco Ramco

Ramco Ramco

  • 449
  • 3k
  • 425.7k

Column Validation

May 26 2023 11:28 AM


  I have below report & i want Age should be between 0 - 100

<div class="card">
    <table class='table table-bordered table-hover' id='tbldata2'>
                <th class='nosort2'>#</th>
                <th>Lead Number</th>
                <th>Lead Date</th>
                <th>Mobile No</th>
                <th>Child Name</th>
                <th>Child Age</th>
            <asp:Repeater ID="rptBulkDataLead" runat="server">
                            <asp:HiddenField ID="hdfLeadInputID" runat="server" Value='<%# Eval("LeadID") %>' />
                            <asp:Literal ID="ltrlNum" Text="<%# Convert.ToString(Container.ItemIndex + 1) %>" runat="server"></asp:Literal></td>
                            <asp:Literal ID="ltrlLeadNumber" runat="server" Text='<%# Eval("LeadNumber") %>'></asp:Literal></td>
                            <asp:Literal ID="ltrlDate" runat="server" Text='<%# Eval("LeadDate") %>'></asp:Literal></td>
                            <asp:Literal ID="ltrlName" runat="server" Text='<%# Eval("Name") %>'></asp:Literal></td>
                            <asp:Literal ID="ltrlMobileNo" runat="server" Text='<%# Eval("Mobile") %>'></asp:Literal></td>
                            <asp:TextBox ID="txtChildName" runat="server" class="form-control" Text='<%# Eval("ChildName") %>'></asp:TextBox></td>
                            <asp:TextBox ID="txtChildAge" runat="server" class="form-control" Text='<%# Eval("ChildAge") %>'></asp:TextBox></td>


Answers (3)