C#-从数据集中选择记录 [英] C# - Selecting record from Dataset

查看:113
本文介绍了C#-从数据集中选择记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好朋友,<输入类型=隐藏" id ="gwProxy"></input><输入类型=隐藏" id ="jsProxy"önclick="jsCall();" />

Hello Friends,<input type="hidden" id="gwProxy"></input><input type="hidden" id="jsProxy" önclick="jsCall();" />

我正在尝试从DataSet中选择没有特定条件的记录.确切的要求如下.

I''m trying to select the records from DataSet which is not having the particular condition. Exact Requirement is below. 

从DS中选择*,其中模块!=全部"

select * from DS where Module != ''All'' 

这里 module 是字段,"Module"的值之一是"全部"

here module is the fields, one of the value for Module is "All

我要选择没有模块值全部".

i want to select the records which is not having the Module value "All".

我尝试了以下代码.

  • ds.Tables [0] .Select("Module Not" All");
  • ds.Tables [0] .Select("Module is not" All");
  • ds.Tables [0] .Select("Module!=''全部"); 

 请帮助我完成此过程.

 Please help me to do this process.

感谢支持.

 

谢谢,

玛丽亚

推荐答案

尝试使用<>.
Try using <>.


这篇关于C#-从数据集中选择记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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