string line="abcd";
response.write(line);
when i execute the line should be displayed in red color
how to achieve it in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VikramPosted Jun 16, 2010, 7:53 AM
Try this,
string line = "abcd";
string tmp = "<a style='color:Red;'>" + line + "</a>";
response.write(tmp);
Regards,
VIkram