473,320 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

transport data from mulitiple look-up tables through web service into business object for databinding

Current code

1.. creates SqlDataAdapter
2.. fills dataset with database table extracted from dataadapter
3.. populates tables with database table contents extracted from
dataadapter
4.. binds table to datasource property of Infragistics dropdown combo
control
The code needs to be refactored to obtain the row/data info through a web
service so the database tables will have to be populated after the datalayer
has obtained the database data.

I am looking for the most efficient datatype through which the data
from several lookup tables can be transported through a web service into the
business object. Whatever datatype is used will then bind the data in the
business object to the drop down controls.

Thank you for any ideas. -hazz
Nov 17 '05 #1
2 1188
Quite honestly, I would just use the DataSet that you populate and
expose that through the web service. This way, you can just call the
service, get the data set, and then bind to whatever you need to.

It's not the most efficient, granted, but it is the easiest to
implement, and you can see if it suits your needs before looking at other
options.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <gr*********@comcast.net> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
Current code

1.. creates SqlDataAdapter
2.. fills dataset with database table extracted from dataadapter
3.. populates tables with database table contents extracted from
dataadapter
4.. binds table to datasource property of Infragistics dropdown combo
control
The code needs to be refactored to obtain the row/data info through a web
service so the database tables will have to be populated after the
datalayer has obtained the database data.

I am looking for the most efficient datatype through which the data
from several lookup tables can be transported through a web service into
the business object. Whatever datatype is used will then bind the data in
the business object to the drop down controls.

Thank you for any ideas. -hazz

Nov 17 '05 #2
Thank you Nicholas. I do like to start off with the simplest approach. -hazz
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Om**************@TK2MSFTNGP09.phx.gbl...
Quite honestly, I would just use the DataSet that you populate and
expose that through the web service. This way, you can just call the
service, get the data set, and then bind to whatever you need to.

It's not the most efficient, granted, but it is the easiest to
implement, and you can see if it suits your needs before looking at other
options.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <gr*********@comcast.net> wrote in message
news:eR**************@TK2MSFTNGP10.phx.gbl...
Current code

1.. creates SqlDataAdapter
2.. fills dataset with database table extracted from dataadapter
3.. populates tables with database table contents extracted from
dataadapter
4.. binds table to datasource property of Infragistics dropdown combo
control
The code needs to be refactored to obtain the row/data info through a web
service so the database tables will have to be populated after the
datalayer has obtained the database data.

I am looking for the most efficient datatype through which the data
from several lookup tables can be transported through a web service into
the business object. Whatever datatype is used will then bind the data
in the business object to the drop down controls.

Thank you for any ideas. -hazz


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mike Dole | last post by:
I'm working on a client - server application based on the 'How to Sockets Server and How to Sockets Client' code from the Visual Basic ..NET Resource Kit. Since I want to be able to send 'big...
0
by: dcrespo | last post by:
Hello all... Someone can tell me what is the parameter 'transport' used for? I think it can be used for encrypt the data... If so, how can I use it? Thanks
0
by: Galore | last post by:
Hello, I'm trying to make a simple socket application, something like a chat application, but when I run it, it shows the following error when the client connects to the server: "Unable to read...
0
by: steve.edison | last post by:
I have an application that pulls an xml file from another site that is around 4 megs in size and posts it to a webservice for processing. In our development environment it works fine. However, in...
0
by: luresh | last post by:
Hi EveryBody : i am using following code ,it is working fine most of the time but some time "Unable to read data from the transport connection: The connection was closed" error occured in the...
1
by: archana | last post by:
Hi all, I am facing one wired problem while executing web request asynchronously. I am getting error An unhandled exception of type 'System.IO.IOException' occurred in system.dll
0
by: Paul H | last post by:
I have the following code running against the compact framework: using System; using System.Data; using System.Net; using System.IO; using System.Text; namespace WebSample {
5
by: lousylife | last post by:
hi guys, im new here!! want to ask something how to save the data from the check boxes and radio buttons in your database, using asp commands! In check boxes, mulitiple selections while in radio...
7
by: Jay Balapa | last post by:
Hello, We have a Pocket PC client application which just connects to our webservice. When a client connects his Pocket PC through his WIFI he gets the following- Unable to read data from the...
0
by: abhishek | last post by:
Hello group, i am running a web server on cherrypy 2.2.0 using python2.5 and turbogears1.0. I have a client application in C#.NET which uploads the data on to web server over HTTP. Very...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.