Ajax Autocomplete code not working(with database)
<p>I have wriiten a simple ajax autocomplete code in Asp.net ( C#)</p>

<p>This is the code</p>

<p><strong>ASPX</strong></p>

<pre><code>&lt;asp:TextBox ID="TextBox1" runat="server" Height="21px" Width="80px"&gt;&lt;/asp:TextBox&gt;
&lt;asp:AutoCompleteExtender ID="TextBox1_AutoCompleteExtender" runat="server" MinimumPrefixLength="1" ServiceMethod="GetCompletionList" TargetControlID="TextBox1" UseContextKey="True"&gt;&lt;/asp:AutoCompleteExtender&gt;
</code></pre>

<p><strong>CodeBehind</strong></p>

<pre><code>string connString = ConfigurationManager.ConnectionStrings["Station"].ToString();
string selectString = "SELECT *from Station";

List&lt;String&gt; CustList = new List&lt;string&gt;(count);
using (SqlConnection sqlConn = new SqlConnection(connString))
{
    sqlConn.Open();

    using (SqlCommand sqlCmd = new SqlCommand(selectString, sqlConn))
    {
        SqlDataReader reader = sqlCmd.ExecuteReader();
        while (reader.Read())
            CustList.Add(reader["DBRT"].ToString());//DBRT is the Column name

    }
}
return (CustList.ToArray());
</code></pre>

<p>When i execute and run the program nothing happens. I dont know what has went wrong. Please guide me.</p>
