比较Formview数据 [英] compare Formview data

查看:99
本文介绍了比较Formview数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想比较两个与其中几乎相同的数据(标签,下拉菜单等)的formview,并设置为更改特定标签或下拉列表的颜色,这是不相同的,所以我很困惑我必须直接比较两个数据集或两个
表单视图吗?

Hello, I want to compare two formview's which has almost same data within it (labels,dropdowns etc),and set to change the colour of that particular label or dropdown which is not same so iam confused to do this do i have to compare two datasets or two formviews directly?

推荐答案

听起来像你需要比较DataSet内部的数据,而不是表单。表单视图只是数据的可视化呈现。没有简单的方法来比较DataSet中的数据。最好的可能是LINQ to DataSet,允许从DataSet查询数据
。否则,您需要实现自己的代码来查找比较匹配的数据元素
Sounds like you would need to compare data inside of DataSets, not the formviews. Formviews is just a visual rendering of the data. There is no simple way to compare data from DataSets. The best would probably be LINQ to DataSet that allows to query data from DataSets. Otherwise you would need to implement your own code to find compare matching data elements


这篇关于比较Formview数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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