Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make C# DataTable filter

Tags:

c#

datatable

my datatable;

    dtData

    ID | ID2
    --------
    1  |  2
    1  |  3


dtData.Select("ID = 1"); one more rows;

i want row "ID = 1 And ID2 = 3" how to make ?

like image 877
Chicharito Avatar asked Jul 29 '10 12:07

Chicharito


People also ask

What is the makefile in c?

Makefile is a set of commands (similar to terminal commands) with variable names and targets to create object file and to remove them. In a single make file we can create multiple targets to compile and to remove object, binary files. You can compile your project (program) any number of times by using Makefile.

How do I make a simple makefile?

By putting the object files--hellomake.o and hellofunc.o--in the dependency list and in the rule, make knows it must first compile the . c versions individually, and then build the executable hellomake. Using this form of makefile is sufficient for most small scale projects.

What is $@ in makefile?

The file name of the target of the rule. If the target is an archive member, then ' $@ ' is the name of the archive file. In a pattern rule that has multiple targets (see Introduction to Pattern Rules), ' $@ ' is the name of whichever target caused the rule's recipe to be run.

How do I make a makefile?

Creating a Makefile A Makefile typically starts with some variable definitions which are then followed by a set of target entries for building specific targets (typically .o & executable files in C and C++, and . class files in Java) or executing a set of command associated with a target label.


1 Answers

Do you mean like this?:

dtData.Select("ID=1 AND ID2=3");
like image 198
Kieren Johnstone Avatar answered Sep 28 '22 16:09

Kieren Johnstone