Require Solution Urgently
int k = 0;
for (int i = 0; i < rowsHeading; i++)
{
Response.Write("<tr style='border:1px solid black'>");
Response.Write(String.Format("<td style='border:1px solid black; text-align:left;width:400px'>{0}</td>", dsHeader.Tables[2].Rows[i]["RowHeaderName"]));
if (dsHeader.Tables[2].Rows[i]["RowValue"].ToString() == "1")
{ --------------------------------------------------------- }
else if (dsHeader.Tables[2].Rows[i]["RowValue"].ToString() == "2")
{ ---------------------------------------------------------- }
else if (dsHeader.Tables[2].Rows[i]["RowValue"].ToString() == "3")
{ ------------------------------------------------------------ }
for (k = 0; k < rowsHeader; k++)
{
Response.Write("<td style='border:1px solid black;width:130px'> <input runat='server' type='text' Width='130px'/></td>");
}
Response.Write("</tr>");
}
Instead of "---------" i want to change the style of td & make the text readonly
how to do it ?