Place this script on top your page : prot = “http” https = lcase(request.ServerVariables(“HTTPS”)) if https <> “off” then prot = “https” domainname = Request.ServerVariables(“SERVER_NAME”) filename = Request.ServerVariables(“SCRIPT_NAME”) querystring = Request.ServerVariables(“QUERY_STRING”) response.write prot & “://” & domainname & filename & “?” & querystring
Create aspx file and write name with “customer.aspx” <asp:datagrid id=”dgCustomer” runat=”server” BackColor=”White” Width=”100%” AutoGenerateColumns=”False” BorderColor=”#999999″ BorderStyle=”Solid” BorderWidth=”1px” CellPadding=”3″ GridLines=”Vertical” ForeColor=”Black” AllowPaging=”True” PageSize=”20″ PagerStyle-Position=”TopAndBottom” PagerStyle-Mode=”NumericPages” CssClass=”pager”> <SelectedItemStyle Font-Bold=”True” ForeColor=”White” BackColor=”#000099″></SelectedItemStyle> <AlternatingItemStyle BackColor=”#CCCCCC”></AlternatingItemStyle> <HeaderStyle Font-Bold=”True” HorizontalAlign=”Center” ForeColor=”White” BackColor=”Black”></HeaderStyle> <FooterStyle BackColor=”#CCCCCC”></FooterStyle> <Columns> <asp:BoundColumn Visible=”False” DataField=”CIF”></asp:BoundColumn> <asp:TemplateColumn> <ItemStyle HorizontalAlign=”Center” Width=”30px”></ItemStyle> <ItemTemplate> <input type=”checkbox” id=”chkDelCustomer” runat=”server” NAME=”chkDelCustomer”> </ItemTemplate> </asp:TemplateColumn> <asp:BoundColumn … Continue reading