Click here to Skip to main content
16,021,687 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to read data from xml file to dataset [modified] Pin
B Desai21-Jul-06 9:56
B Desai21-Jul-06 9:56 
AnswerRe: How to read data from xml file to dataset Pin
Grapes-R-Fun21-Jul-06 15:17
Grapes-R-Fun21-Jul-06 15:17 
GeneralRe: How to read data from xml file to dataset Pin
B Desai22-Jul-06 17:20
B Desai22-Jul-06 17:20 
GeneralRe: How to read data from xml file to dataset Pin
Grapes-R-Fun23-Jul-06 8:25
Grapes-R-Fun23-Jul-06 8:25 
QuestionCrystal Reports fail to load in web comonent Pin
icestatue21-Jul-06 9:11
icestatue21-Jul-06 9:11 
Questionneed help about DataView [modified] Pin
mahesh kukkadapu21-Jul-06 9:07
mahesh kukkadapu21-Jul-06 9:07 
AnswerRe: need help about DataView Pin
leckey21-Jul-06 11:51
leckey21-Jul-06 11:51 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 7:48
Felipe Dalorzo21-Jul-06 7:48 
Web Services can't return unknown(generic) types, a web service should explain it self all the time.
It means that what you are doing is not a good a idea

<br />
<WebMethod()> Public Function Test(ByVal sl() as TestList ) As String<br />
        Return sL(1).Value.ToString<br />
End Function<br />


From application AppTest:

<br />
Dim param() As New ArrayList<br />
param.Add(New TestList("N1", "V1", "T1", "S1"))<br />
param.Add(New TestList("N2", "V2", "T2", "S2"))<br />
Response.Write( ws.Test(parm.ToArray( GetType(TestList) ) ) )<br />


I am assuming implicit convertion on of the Array with the array list but you can cast that array to any type you want before passing it to the web service.

Greetings Laugh | :laugh: ,

FMD

GeneralRe: How to pass List collection to a web method??? Pin
JimFeng21-Jul-06 8:37
JimFeng21-Jul-06 8:37 
AnswerRe: How to pass List collection to a web method??? Pin
Felipe Dalorzo21-Jul-06 10:12
Felipe Dalorzo21-Jul-06 10:12 
GeneralRe: How to pass List collection to a web method??? Pin
JimFeng24-Jul-06 7:04
JimFeng24-Jul-06 7:04 
QuestionNot loading ascx in some websites only Pin
SIJUTHOMASP21-Jul-06 6:36
professionalSIJUTHOMASP21-Jul-06 6:36 
QuestionNon Item Selected on RadioButtonList Pin
Armando_Ramirez21-Jul-06 6:33
Armando_Ramirez21-Jul-06 6:33 
AnswerRe: Non Item Selected on RadioButtonList Pin
Grapes-R-Fun21-Jul-06 14:45
Grapes-R-Fun21-Jul-06 14:45 
QuestionType.GetType() Pin
Mircea Grelus21-Jul-06 6:10
Mircea Grelus21-Jul-06 6:10 
AnswerRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 8:11
Felipe Dalorzo21-Jul-06 8:11 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 8:28
Mircea Grelus21-Jul-06 8:28 
GeneralRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 10:05
Felipe Dalorzo21-Jul-06 10:05 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 10:23
Mircea Grelus21-Jul-06 10:23 
GeneralRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 10:40
Felipe Dalorzo21-Jul-06 10:40 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 12:53
Mircea Grelus21-Jul-06 12:53 
Questionreporting tool with printing option Pin
cdotpal21-Jul-06 6:07
cdotpal21-Jul-06 6:07 
AnswerRe: reporting tool with printing option Pin
Dustin Metzgar21-Jul-06 8:49
Dustin Metzgar21-Jul-06 8:49 
GeneralRe: reporting tool with printing option Pin
cdotpal26-Jul-06 6:40
cdotpal26-Jul-06 6:40 
AnswerRe: reporting tool with printing option Pin
Frank Kerrigan21-Jul-06 13:14
Frank Kerrigan21-Jul-06 13:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.