?
Solved

Dataview Like Operator

Posted on 2013-06-11
1
Medium Priority
?
247 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:
Meir Rivkin earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

850 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