Click here to Skip to main content
15,917,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

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

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

select * from DS where Module != 'All' 

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".

i tried the below codes. but it is not working.

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

 Please help me to do this process.

Thanks for Support.

 

Thanks ,

Maria

Posted

1 solution

Try using <>.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900