<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Comparitive .aspx.cs" Inherits="Comparitive_" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<a href ="http://localhost:49369/login.aspx">Login</a>
<a href ="http://localhost:49369/Home.aspx">Home</a>
<br />
<asp:Image ID="Image1" runat="server" Height="195px" Width="924px" ImageUrl="~/Images/aa2.png" />
<br />
<h3> User Entity (or)User Query </h3>
<table style="width: 70%; height: 269px;">
<tr>
<td>
<asp:Image ID="Image2" runat="server" Height="110px" ImageUrl="~/Images/decesion.png" Width="186px" />
</td>
<td>
<asp:Label ID="Label1" runat="server" Text="#start"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Label ID="Label3" runat="server" Text="#end"></asp:Label>
<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Enter some text">*</asp:CustomValidator>
<br />
<br />
<asp:Label ID="Label2" runat="server" Text="Keyword"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:CustomValidator ID="CustomValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Enter some text">*</asp:CustomValidator>
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="Submit" OnClick="Button1_Click" Width="100px" />
<br />
<br />
</td>
</tr>
</table>
<br />
</div>
</form>
</body>
</html>
in text box 2 i am entering the (hyderabad & banglore ) i should compare the text box values with the values present in the database and retrieve the result
thanks in advance