Click here to Skip to main content
15,919,422 members
Home / Discussions / C#
   

C#

 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:39
robmays15-Apr-04 3:39 
GeneralRe: my tab control is slow Pin
Heath Stewart15-Apr-04 3:44
protectorHeath Stewart15-Apr-04 3:44 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:54
robmays15-Apr-04 3:54 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:59
robmays15-Apr-04 3:59 
GeneralRe: my tab control is slow Pin
Heath Stewart15-Apr-04 4:01
protectorHeath Stewart15-Apr-04 4:01 
GeneralTab order Pin
phimix15-Apr-04 3:05
phimix15-Apr-04 3:05 
GeneralTimers in C# Pin
bouli15-Apr-04 3:01
bouli15-Apr-04 3:01 
GeneralRe: Timers in C# Pin
Heath Stewart15-Apr-04 3:20
protectorHeath Stewart15-Apr-04 3:20 
GeneralRe: Timers in C# Pin
bouli15-Apr-04 3:29
bouli15-Apr-04 3:29 
Generalsetup and deployment projects Pin
Dpriya15-Apr-04 2:59
Dpriya15-Apr-04 2:59 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 3:05
bouli15-Apr-04 3:05 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 3:48
protectorHeath Stewart15-Apr-04 3:48 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 3:41
protectorHeath Stewart15-Apr-04 3:41 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:05
bouli15-Apr-04 4:05 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 4:11
protectorHeath Stewart15-Apr-04 4:11 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:20
bouli15-Apr-04 4:20 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 5:00
protectorHeath Stewart15-Apr-04 5:00 
GeneralStrongly typed DataSet from a web service Pin
bjoernen15-Apr-04 2:49
bjoernen15-Apr-04 2:49 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 3:58
protectorHeath Stewart15-Apr-04 3:58 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 4:47
bjoernen15-Apr-04 4:47 
Thanks for the reply Heath.

If the web service returns typed DataSets, then the proxy will return untyped (regular) DataSets, but the content can easily be moved to a typed DataSet by use of the DataSet.Merge method. But my problem is that the web service does not return a DataSet, even though the actual xml structure is very similar. I'm curious why I havn't found anything fruitful Googling around for this. What would be a really good setting for the proxy generation would be a checkbox: "return as [] DataSet or [] object hierarchy classes".

I have some ideas I will try shortly:

- Getting hold of the web service reply in original xml format, and deserializing it into the typed DataSet. Weakness: Probably requires some tweaking of the xml.

- Manipulating the wsdl so that VS thinks that DataSets are returned, and creates the proxy to return DataSets. I have my doubts that this will work automatically.

- Writing a generic method that by use of reflection can move an object hierarchy into a typed DataSet. Ugly.

Writing my own proxy might be a good alternative, thanks for the tip. It probably can be very generic too (or based on a very generic base class), so it can be used for all "web service reply -> typed DataSet" scenarios.


GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 5:03
protectorHeath Stewart15-Apr-04 5:03 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 21:06
bjoernen15-Apr-04 21:06 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart16-Apr-04 3:55
protectorHeath Stewart16-Apr-04 3:55 
Generalall client machine in local network Pin
Anonymous15-Apr-04 2:14
Anonymous15-Apr-04 2:14 
GeneralRe: all client machine in local network Pin
Stefan Troschuetz15-Apr-04 5:21
Stefan Troschuetz15-Apr-04 5:21 

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.