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
578 B
16 lines
578 B
imports System.Xml
|
|
imports System.Data.OleDb
|
|
|
|
public partial class vb_autosuggest
|
|
Inherits 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 Function OnSuggestOptions(ByVal sText As String) As String
|
|
Dim sResponse As String = ""
|
|
|
|
' Setting the connection
|
|
Dim oConn As OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("../App_Data/A_Words.mdb"))
|
|
oConn.Open()
|
|
|