TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kriti
NA
60
0
ignore cases in strings
Apr 23 2010 5:55 AM
private
void
listboxOP_SelectedIndexChanged(
object
sender,
EventArgs
e)
{
String
tempValue;
foreach
(
Object
obj
in
listboxOP.SelectedItems)
{
tempValue = (
String
)obj;
if
(tempValue ==
"Employee data"
)
{
//perform some operations
}
}
}
My program should handle the case sensitive.
Even if user enters "employee data" in Upper case or lower case or combination of both uppercase and lowercase ,It should enter the loop.
How can i handle case-sensitiveness?
Reply
Answers (
2
)
How to upload images to a folder and stored all information in database in a registration form in vb.net
drawing geometric shapes in vba and getting output in autocad