Solved

Dataview Like Operator

Posted on 2013-06-11
1
238 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

23 Experts available now in Live!

Get 1:1 Help Now