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
Hari B
NA
139
68.3k
need to come red color for error message c#(MVC 2)
Jan 1 2015 2:38 AM
hello all ,
Here i am doing display one error Message like "
politisians should not be lazy"
like below. so i am getting default fore color (black)of error Message . i need red color...
default =
politisians
should not be lazy
need =
politisians
should not be lazy
try
{
IndiaAssemblies.ForEach(delegate(Indiaassembly e)
{
if (string.IsNullOrEmpty(e.politisians))
{
throw new System.DataMisalignedException(
"
politisians
should not be lazy"
);
}
});
}
catch (Exception ex)
{
return RedirectToAction("Indiaparlement", "INDIA", new { somex = objindia.somex.ToString(),
Revision = objindia.Revision.ToString(), errormsg = ex.Message });
}
Thanks
Hareesh
Reply
Answers (
3
)
search from calender
How Can I print from winForm to XPS printer without dialog?