Good practices in transporing data...

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
Hi all,

Out of interest what is the best way, most efficient + secure way, to transport data across a connection between an asp.net web application and a asp.net web service.

In the case that I am selecting a single column from a database what I do is to low the column that I selected into a dataset and transport the dataset across the connection and then bind that dataset to the dropdownlist/datagrid/listbox. However when I wish to transport a single row from the database I put the data into a string array and transport that array, or if I need to simple transport a single piece of data, I send it as a string.

Now am I transporting the data in the correct way or is there a more efficient manner to do the transport??

Mike55.
 
Back
Top