<asp:DataList ID="dlsearch" runat="server" CellPadding="4" ForeColor="#333333"> <FooterStyle BackColor="#D5E3F1" Font-Bold="True" ForeColor="White" /> <AlternatingItemStyle BackColor="#D5E3F1" /> <ItemStyle BackColor="#D5E3F1" /> <SelectedItemStyle BackColor="#D5E3F1" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#D5E3F1" Font-Bold="True" ForeColor="White" /> <ItemTemplate> <tr> <td> <b>Property ID :</b> <%#Eval("pid")%> </td> <td> <b>Property Type :</b> <%#Eval("protype")%> </td> <td> <b>Bedrooms :</b> <%# Eval("bedrooms")%> </td> </tr> <tr> <td> <b>Covered Area :</b> <%# Eval("coveredarea")%> </td> <td> <b>Plot Area :</b> <%# Eval("plotarea")%> </td> <td> <b>Monthly Price :</b> <%# Eval("totalprice")%> </td> </tr> <tr> <td> <b>Per Unit Price :</b> <%# Eval("perunitprice")%> </td> <td> <b>Available :</b> <%# Eval("available")%> </td> <td> <b>Available Units :</b> <%# Eval("availableunits")%> </td> </tr> <tr> <td> <b>Facing :</b> <%# Eval("facing")%> </td> <td> <b>Locality :</b> <%# Eval("locality")%> </td> <td> <b>City :</b> <%#Eval("city") %> </td> </tr> <tr> <td> <b>Address :</b> <%# Eval("adress") %> </td> </tr> <tr> <td> <asp:LinkButton ID="lnkbtn" runat="server" onclick="lnkbtn_Click">Send Email</asp:LinkButton> <asp:Literal ID="litmsg" runat="server"></asp:Literal> </td> </tr> <tr> <td> <asp:Panel ID="panelemail" runat="server" Visible="false"> <tr> <td> Name:<font color="red">*</font><asp:TextBox ID="txtname" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="rfvname" runat="server" ErrorMessage="*" ControlToValidate="txtname"></asp:RequiredFieldValidator> </td> <td> Email:<font color="red">*</font><asp:TextBox ID="txtemail" runat="server"></asp:TextBox> <asp:RegularExpressionValidator ID="revemail" runat="server" ErrorMessage="*" ControlToValidate="txtemail" ValidationGroup="g"></asp:RegularExpressionValidator> </td> <td> Mobile No.:<font color="red">*</font><asp:TextBox ID="txtmobile" runat="server"></asp:TextBox> </td> </tr> <tr> <td> LandLine<font color="red">*</font>:<asp:TextBox ID="txtLand" runat="server"></asp:TextBox> </td> <td> Preferred Time To Call:<asp:DropDownList ID="ddltime1" runat="server"> <asp:ListItem>12Hr</asp:ListItem> <asp:ListItem>01</asp:ListItem> <asp:ListItem>02</asp:ListItem> <asp:ListItem>03</asp:ListItem> <asp:ListItem>04</asp:ListItem> <asp:ListItem>05</asp:ListItem> <asp:ListItem>06</asp:ListItem> <asp:ListItem>07</asp:ListItem> <asp:ListItem>08</asp:ListItem> <asp:ListItem>09</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>11</asp:ListItem> <asp:ListItem>12</asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="ddltime2" runat="server"> <asp:ListItem>AM/PM</asp:ListItem> <asp:ListItem>AM</asp:ListItem> <asp:ListItem>PM</asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="ddltime3" runat="server"> <asp:ListItem>Select Day</asp:ListItem> <asp:ListItem>All Days</asp:ListItem> <asp:ListItem>Only Weekdays</asp:ListItem> <asp:ListItem>Only Weekends</asp:ListItem> </asp:DropDownList> </td> <td> Message:<asp:TextBox ID="txtmsg" runat="server" TextMode="MultiLine"></asp:TextBox> </td> </tr> <tr><td><asp:Button ID="btnsub" runat="server" Text="Submit" onclick="btnsub_Click" /></td></tr> </asp:Panel> </td> </tr> <tr> <td colspan="3"> <hr /> <br /> <br /> </td> </tr> </ItemTemplate> </asp:DataList>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)