G
Guest
I seem to be having a mental block for some reason.
Some goals:
A web form with fields
A web service that processes those fields
Send the fields as a single parameter to the web service
Use an object datasource to populate the form
Object datasources get values from properties in classes
How do I structure a class so that I can marshal data in a web app (from the
screen) and in a web service (from the database) while still allowing it to
be bound to a datagridview or formview and be sent as a marshalled unit
accross the wire? (i.e. I don't want to invoke the web service to set each
property)
Or do I just have to manually create tables and not use data binding?
What's comming to mind is using a class/structure with public members and
then writing code to move it in and out of another class with properties?
Ouch.
Some goals:
A web form with fields
A web service that processes those fields
Send the fields as a single parameter to the web service
Use an object datasource to populate the form
Object datasources get values from properties in classes
How do I structure a class so that I can marshal data in a web app (from the
screen) and in a web service (from the database) while still allowing it to
be bound to a datagridview or formview and be sent as a marshalled unit
accross the wire? (i.e. I don't want to invoke the web service to set each
property)
Or do I just have to manually create tables and not use data binding?
What's comming to mind is using a class/structure with public members and
then writing code to move it in and out of another class with properties?
Ouch.