You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
547 B

using System.Xml;
using System.Data.OleDb;
public partial class cs_autosuggest : OboutInc.oboutAJAXPage
{
// This method loads the words from the database and creates and XML string
// The XML string will be used to add the options to the combobox
public string OnSuggestOptions(string sText)
{
string sResponse = "";
// Setting the connection
OleDbConnection oConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("../App_Data/A_Words.mdb"));
oConn.Open();