Click here to Skip to main content
15,886,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Bold Italics Subject line Pin
Venkatesh Mookkan11-May-10 17:50
Venkatesh Mookkan11-May-10 17:50 
AnswerRe: Bold Italics Subject line Pin
Jamil Hallal12-May-10 0:15
professionalJamil Hallal12-May-10 0:15 
QuestionPlaceHolder inside ContentPlaceHolder Pin
MWRivera11-May-10 7:25
MWRivera11-May-10 7:25 
AnswerRe: PlaceHolder inside ContentPlaceHolder Pin
Not Active11-May-10 8:54
mentorNot Active11-May-10 8:54 
GeneralRe: PlaceHolder inside ContentPlaceHolder Pin
MWRivera12-May-10 8:12
MWRivera12-May-10 8:12 
GeneralRe: PlaceHolder inside ContentPlaceHolder Pin
MWRivera12-May-10 8:58
MWRivera12-May-10 8:58 
AnswerRe: PlaceHolder inside ContentPlaceHolder Pin
Peace ON11-May-10 21:13
Peace ON11-May-10 21:13 
QuestionIFrame Use Pin
Amit Patel198511-May-10 5:50
Amit Patel198511-May-10 5:50 
Hi All,

I am generating HTML kind of file through code behind. using the following code.
<code>
sb is a string builder
sb.Append("<table border ='0'>");
sb.Append("<tr>");
sb.Append("<td>");
sb.Append("Org Name :");
sb.Append("</td>");
sb.Append("<td>");
sb.Append(Session["orgName"].ToString());
sb.Append("</td>");
sb.Append("</tr>");

sb.Append("<tr>");
sb.Append("<td>");
sb.Append("Start Date :");
sb.Append("</td>");
sb.Append("<td>");
sb.Append(Session["startDate"].ToString());
sb.Append("</td>");
sb.Append("</tr>");

sb.Append("<tr>");
sb.Append("<td>");
sb.Append("End Date :");
sb.Append("</td>");
sb.Append("<td>");
sb.Append(Session["toDate"].ToString());
sb.Append("</td>");
sb.Append("</tr>");

sb.Append("</table>");


sb.Append("<table border ='1'>");
sb.Append("<tr width ='100%'>");
sb.Append("<td width ='15%'>");
sb.Append("SN");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Patient Id");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Requested Time");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Completed Time");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Study Type");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Amount");
sb.Append("</td>");
sb.Append("<td width ='15%'>");
sb.Append("Applied Plan");
sb.Append("</td>");
sb.Append("</tr>");
sb.Append("</table>");

below this one accept button will come
<asp:Button ID ="btnAccept" Text ="Accept" runat ="server" onclick="btnAccept_Click" />

but when i am writing this using Response.write(sb.tostring()); to the page

Data is coming is in proper format but the button is coming above html data how to fix this.


</code>


thanks and regards,
Amit Patel
AnswerRe: IFrame Use Pin
Not Active11-May-10 8:52
mentorNot Active11-May-10 8:52 
AnswerRe: IFrame Use Pin
Venkatesh Mookkan11-May-10 17:54
Venkatesh Mookkan11-May-10 17:54 
GeneralRe: IFrame Use Pin
Amit Patel198511-May-10 20:16
Amit Patel198511-May-10 20:16 
QuestionRating control in asp.net Pin
trilokharry11-May-10 5:37
trilokharry11-May-10 5:37 
AnswerRe: Rating control in asp.net Pin
Sandeep Mewara11-May-10 6:27
mveSandeep Mewara11-May-10 6:27 
QuestionSaving file into database as binary Pin
Deb_2611-May-10 5:22
Deb_2611-May-10 5:22 
AnswerRe: Saving file into database as binary Pin
michaelschmitt11-May-10 6:16
michaelschmitt11-May-10 6:16 
QuestionMigrating ASP.NET 1.1 web app from IIS 6 (WinServer2003 environment) to IIS 7 (WinServer2008 environment) Pin
Tobygm11-May-10 4:38
Tobygm11-May-10 4:38 
QuestionSMTP Server Pin
Dhyanga11-May-10 3:48
Dhyanga11-May-10 3:48 
AnswerRe: SMTP Server Pin
Peace ON11-May-10 4:18
Peace ON11-May-10 4:18 
GeneralRe: SMTP Server Pin
Dhyanga11-May-10 4:28
Dhyanga11-May-10 4:28 
GeneralRe: SMTP Server Pin
Peace ON11-May-10 4:53
Peace ON11-May-10 4:53 
QuestionWeb Service Connection Pin
#realJSOP11-May-10 3:35
mve#realJSOP11-May-10 3:35 
AnswerRe: Web Service Connection Pin
Peace ON11-May-10 4:29
Peace ON11-May-10 4:29 
Question"Time Out Expire" problem Pin
souravghosh1811-May-10 2:44
souravghosh1811-May-10 2:44 
AnswerRe: "Time Out Expire" problem Pin
Peace ON11-May-10 2:54
Peace ON11-May-10 2:54 
GeneralRe: "Time Out Expire" problem Pin
souravghosh1811-May-10 3:33
souravghosh1811-May-10 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.