RPS
RPS

Reputation: 837

FilterExpression on SQLDataSource in c#

What does the FilterExpression do on a SQLDataSource in C#?

Upvotes: 2

Views: 432

Answers (1)

dcp
dcp

Reputation: 55444

It controls the filtering expression that is applied when a Select method call is issued. Read about it here.

So if you have something like:

FilterExpression="Title='{0}'

Then you can filter on Title when you call Select, and supply the title value.

Upvotes: 1

Related Questions