Solved

ASP.NET/VB: Case Insensitive Equals

Posted on 2013-05-17
2
468 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

Highfive Gives IT Their Time Back

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

12 Experts available now in Live!

Get 1:1 Help Now