Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
Web Services, XML
Passare un array ad un web service
giovedì 01 febbraio 2007 - 10.16
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
liuc
Profilo
| Junior Member
146
messaggi | Data Invio:
gio 1 feb 2007 - 10:16
Non riesco ad invocare un web service che accetta in ingresso un array ; in fase di compilazione ottengo il seguente errore :
"Value of type '1-dimensional array of System.Data.SqlClient.SqlParameter' cannot be converted to '1-dimensional array of UTGNOWS.SqlParameter' because 'System.Data.SqlClient.SqlParameter' is not derived from 'UTGNOWS.SqlParameter'"
il web service è così dichiarato :
<WebMethod()> _
Public Function UTGNOWS_ExecuteSQLStored(ByVal SQLStored As String, ByVal Params() As Data.SqlClient.SqlParameter) As DataSet
Dim ds As New DataSet
Dim db As New SQLDataBase
Try
ds = db.ExecuteSQLDataSet(SQLStored, Params)
Catch ex As Exception
ds = Nothing
End Try
Return ds
End Function
liuc
Profilo
| Junior Member
146
messaggi | Data Invio:
mer 7 feb 2007 - 16:25
No non credo, anche la chiamata contiene un array di dati del tipo SqlParameter
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !