Home » Archive by category "Applications" (Page 18)

Archive for the 'Applications' Category

Delete confirm javascript

<a href=”default.asp?do=del&rid=<%= objRS(“ID”) %>” onclick=”return confirm(‘Are you sure you want to delete?’)” >Delete</a>

VB.NET – SQL statement “LIKE”

Input box Please enter customer first or last name: <asp:RequiredFieldValidator ID=”ReqSearchfor” runat=”server” ErrorMessage=”<font color=’red’>Input box can not be empty!</font>” ControlToValidate=”SearchFor” > <asp:TextBox ID=”SearchFor” runat=”server”> <asp:Button ID=”SearchBtn” runat=”server” Text=”Search” /> SQL DataSource Design <asp:SqlDataSource ID=”SearchResults” runat=”server” ConnectionString=”< %$ myConString %>” SelectCommand=”SELECT * FROM [CustomerTbl] WHERE ([customer_name] LIKE ‘%’ + @customer_name + ‘%’)” <SelectParameters> <asp:ControlParameter ControlID=”SearchFor” Name=”customer_name” […]

CSS Horizontal Navigation Menu

CSS code – horizontal navigation menu /* ‘defines width, font and position */ #nav { font-family: verdana, sans-serif; position: relative; width: 100%; font-size:11px; color:#FFF; padding-top: 0px; } /* ‘defines list type */ #nav ul { list-style-type: none; background-color: #000; } /* ‘defines the drop-down container */ #nav ul li { float: left; position: relative; height: […]