title: Use autocomplete to fetch data from Database in ASP.NET Web Forms with c#?
body: <p>I am modifying an existing application developed by another programmer using ASP.NET Web Forms and C#.</p>
  
  <p>I have to add to a simple <strong>TextBox</strong> the <strong>autocomplete</strong> functionality. When the user starts to input something into the <strong>TextBox</strong>, the <strong>TextBox</strong> should show suggestions based on the data stored in a database. The suggestions have to be based just on the <strong>prefix</strong> (the initial part of the words already inputed).</p>
  
  <p>I found many examples based on the <strong><a href="http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx" rel="nofollow">autocomplete AJAX extender</a></strong> but it is based on fetching data froma Web Service. What are the steps and required methods and operations in order to fulfill this task? </p>