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
Carlos kambui
NA
499
124.5k
help o solve this error
May 21 2015 7:17 AM
{
foreach (UnitType item in Couseunit)
{
if (item.unit_id == 0)
{
item.unit_id = 1;
item.active = true;
}
}
List<UnitType> Couseunit = new List<UnitType>();
dgCunit.DataSource = Couseunit.Where(x => x.unit_id == 0).ToList();
dgCCCourse.DataSource = Couseunit.Where(x => x.unit_id == 1 & x.active == "Y").ToList();
how can i resolve the error
operator '==' cannot be applied to operand of type bool and string
Reply
Answers (
1
)
operator '==' cannot be applied to operand of type bool and
Is it possible to rotate a button in windows form app