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
Rushal Arora
NA
112
175.9k
Require Solution Urgently
Aug 26 2013 10:33 PM
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 ?
Reply
Answers (
4
)
Cross Domain CRUD Operations Using the ADO.Net Data Service
how to insert data in access database from asp.net c#?