从表中选择这些值并将其作为对象发送到客户端应用程序 [英] selecting these values from the table and send it as object to client application

查看:78
本文介绍了从表中选择这些值并将其作为对象发送到客户端应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的wcf应用程序中,我将数据集添加到特定的员工表。我想要的是我想要从表中选择这些值的代码并将其作为对象发送到客户端应用程序....如何做到这一点给出一些示例步骤...或代码....帮助我

in my wcf application i added dataset to particular employee table.what i want is i want the code for selecting these values from the table and send it as object to client application....how can do that give some example steps...or code for that....help me out

推荐答案

你在SQ​​L中做一个select,然后你创建一个类来定义有问题的对象和将该对象的实例或集合发送给客户端。
You do a select in SQL, then you create a class to define the object in question and send an instance or collection of that object to the client.


这篇关于从表中选择这些值并将其作为对象发送到客户端应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆