Solved

Dataview Like Operator

Posted on 2013-06-11
1
237 Views
Last Modified: 2013-06-11
in the following code if I need to change description to like operator with %% how to change

  _dview.RowFilter = String.Format("Flag = '{0}' and Description = '{1}'",
                                             VariableClass.Zerorecords,
                                             ChangeCaseClass.ToRemoveExtraSpaces(description))

Open in new window

0
Comment
Question by:GRChandrashekar
1 Comment
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 39237781
  _dview.RowFilter = String.Format("Flag = '{0}' and Description LIKE '%{1}%'",
                                             VariableClass.Zerorecords,
                                             ChangeCaseClass.ToRemoveExtraSpaces(description))

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now