Hi,
I have an dataset i need to display those data inside an HTML table in .cs page(Code behind).Please find me how to achieve this & go through my code
sb.AppendLine("<html><body><center><" +
"table border='1' cellpadding='0' cellspacing='0'>");
sb.AppendLine("<tr>");
sb.AppendLine("<td><b>");
sb.Append("Kundali Details");
sb.Append("</b></td>");
sb.AppendLine("</tr>");
sb.AppendLine("<tr>");
sb.Append("<td>")Server.HtmlDecode(dt.Rows[0]["Aries"].ToString();//I am getting error in this line
sb.Append("</td");
sb.Append("<td>")Server.HtmlDecode(dt.Rows[0]["Taurus"].ToString();
sb.Append("</td");
sb.Append("<td>Gemini");
sb.Append("</td");
sb.Append("<td>Cancer");
sb.Append("</td");
sb.AppendLine("</tr>");
Join Hands Change lives
Thanks & Regards
Straight Edge Society