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
mohammed shamsheer
NA
394
143.9k
Only assignment, call,increment and new object expressions c
Sep 2 2013 3:13 AM
string isEditable=grdDesignation.DataKeys[index].Values["IsDeletable"].ToString();
if (isEditable == "True")
{
chkEditable.Checked = true;
}
else
{
chkEditable.Checked = false;
}
I just shortned the code to below like this but showing the errors
Only assignment, call,increment and new object expressions c
(isEditable == "True") ? chkEditable.Checked=true : chkEditable.Checked = false;
Reply
Answers (
6
)
GridView Edit Function in ASP.NET
Decrypt an email body using Microsoft Exchange Server API