Underline word

Posted by Abhi_patil under ASP.NET on 2/17/2009 | Views : 4184 | Status : [Member] | Replies : 1
i am developing spell checker.
in that imneed to underline wrong word.
how i can do ?




Responses

Posted by: Majith on: 2/18/2009 [Member] Starter

Up
0
Down
Hi,

pass the output wrong word like this format

public static string Underline(string value)
{
if (!string.IsNullOrEmpty(value))
{
return "<u>" + value + "</u>";
}
return value;
}

Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response