Solved

ASP.NET/VB: Case Insensitive Equals

Posted on 2013-05-17
2
470 Views
Last Modified: 2013-05-17
Using ASP.NET/VB, how can I make this case insensitive?

ElseIf (row("name") = "logo") Then

Open in new window

0
Comment
Question by:hankknight
2 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 400 total points
ID: 39175002
easy way:
ElseIf (row("name").ToString().ToUpper() = "LOGO") Then
0
 
LVL 42

Assisted Solution

by:sedgwick
sedgwick earned 100 total points
ID: 39175011
ElseIf  (String.Compare( row("name"),"logo",StringComparison.OrdinalIgnoreCase) == 0)
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

14 Experts available now in Live!

Get 1:1 Help Now