|    
			
				01/09/2010, 07:43
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: mayo-2008 
						Mensajes: 353
					 Antigüedad: 17 años, 5 meses Puntos: 3 |  | 
  |  Respuesta: por que sera dificil ajax y vs2005  
  Jaullo gracias por contestar, vi tu pagina y todo muy bien, pero yo tengo esto
 Imports System.Web
 Imports System.Web.Services
 Imports System.Web.Services.Protocols
 Imports System.Data.SqlClient
 Imports System.Data
 Imports System.Web.Script.Services
 
 Partial Class comple
 Inherits System.Web.UI.Page
 Private cnstr As String = ConfigurationManager.ConnectionStrings("connsql").  ConnectionString
 
 Public Function ObtListaIdentificacion(ByVal prefixText As String, ByVal count As Integer) As String()
 Dim con As New SqlConnection(cnstr)
 Dim comando As New SqlCommand("select Top 30 nombrelink from links where nombrelink  LIKE '%' + @param + '%' ", con)
 comando.Parameters.AddWithValue("param", prefixText)
 Dim dr As SqlDataReader
 comando.Connection.Open()
 dr = comando.ExecuteReader
 Dim lista As New List(Of String)
 
 While dr.Read
 lista.Add(dr.Item("nombrelink"))
 End While
 comando.Connection.Close()
 Return lista.ToArray
 End Function
 End Class
 
 y me dice que esto List(Of String) no esta definido osea List
 otra, donde coloco esto,
 
 <WebMethod()> _
 <System.Web.Script.Services.ScriptMethod()> _
 
 por que lo hago igual como lo tienes y también da error
 Pero creo que esta casi listo, solo esos detalles,
 porfa una ayuda.
     |