Click here to Skip to main content
15,861,125 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionweb-based payments processing system like e-shoping. Pin
Saam_cse6-Nov-09 1:53
Saam_cse6-Nov-09 1:53 
AnswerRe: web-based payments processing system like e-shoping. Pin
Gamzun6-Nov-09 21:17
Gamzun6-Nov-09 21:17 
QuestionSend mail with smtp server Pin
ankur10876-Nov-09 1:53
ankur10876-Nov-09 1:53 
AnswerRe: Send mail with smtp server Pin
Ashfield6-Nov-09 2:12
Ashfield6-Nov-09 2:12 
AnswerRe: Send mail with smtp server Pin
OriginalGriff6-Nov-09 6:13
mveOriginalGriff6-Nov-09 6:13 
Questionrefresh Pin
AndyInUK6-Nov-09 1:16
AndyInUK6-Nov-09 1:16 
AnswerRe: refresh Pin
sashidhar6-Nov-09 1:23
sashidhar6-Nov-09 1:23 
QuestionProblem in Table Designing Pin
rhtbhegade6-Nov-09 0:24
rhtbhegade6-Nov-09 0:24 
HI Experts,

The output of my code is not coming in tabular way,which i want to display it in table form..
already i have written code for that...
For referance please see the code below....
<br />
<br />
StringBuilder strHTMLContent = new StringBuilder();<br />
<br />
 cmd = new SqlCommand("select * from Area ", sqlcon);<br />
         sqlcon.Open();<br />
         SqlDataReader odr = cmd.ExecuteReader();<br />
         while (odr.Read())<br />
         {<br />
             strHTMLContent.Append("<table align='Center'>".ToString());<br />
             strHTMLContent.Append("<tr>".ToString());<br />
             strHTMLContent.Append("<td style='width: 300px'></td>".ToString());<br />
             <br />
             strHTMLContent.Append(odr["AreaId"].ToString());<br />
             strHTMLContent.Append(odr["AreaCode"].ToString());<br />
             strHTMLContent.Append(odr["AreaDesc"].ToString());<br />
<br />
             //strHTMLContent.Append("<td style='width: 100px'></td>".ToString());<br />
             //strHTMLContent.Append("<td style='width: 100px'></td>".ToString());<br />
             <br />
             strHTMLContent.Append("</tr>".ToString());<br />
             strHTMLContent.Append("</table>".ToString());<br />
             strHTMLContent.Append("<br><br>".ToString());<br />
         }<br />
         sqlcon.Close();<br />
<br />
        strHTMLContent.Append("<p align='Center'> Note : This is dynamically generated HTML document </p>".ToString());<br />
            <br />
       <br />
        HttpContext.Current.Response.Write(strHTMLContent);<br />
<br />

AnswerRe: Problem in Table Designing [modified] Pin
compninja256-Nov-09 1:51
compninja256-Nov-09 1:51 
GeneralRe: Problem in Table Designing Pin
rhtbhegade6-Nov-09 17:51
rhtbhegade6-Nov-09 17:51 
GeneralRe: Problem in Table Designing Pin
sashidhar6-Nov-09 19:07
sashidhar6-Nov-09 19:07 
QuestionScript function is not working. Pin
bhavnvyas5-Nov-09 23:49
bhavnvyas5-Nov-09 23:49 
AnswerRe: Script function is not working. Pin
sashidhar6-Nov-09 0:04
sashidhar6-Nov-09 0:04 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 0:15
bhavnvyas6-Nov-09 0:15 
GeneralRe: Script function is not working. Pin
sashidhar6-Nov-09 0:19
sashidhar6-Nov-09 0:19 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 0:26
bhavnvyas6-Nov-09 0:26 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 0:36
bhavnvyas6-Nov-09 0:36 
GeneralRe: Script function is not working. Pin
sashidhar6-Nov-09 0:44
sashidhar6-Nov-09 0:44 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 0:48
bhavnvyas6-Nov-09 0:48 
GeneralRe: Script function is not working. Pin
sashidhar6-Nov-09 0:51
sashidhar6-Nov-09 0:51 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 0:53
bhavnvyas6-Nov-09 0:53 
GeneralRe: Script function is not working. Pin
sashidhar6-Nov-09 1:07
sashidhar6-Nov-09 1:07 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 17:36
bhavnvyas6-Nov-09 17:36 
GeneralRe: Script function is not working. Pin
sashidhar6-Nov-09 17:44
sashidhar6-Nov-09 17:44 
GeneralRe: Script function is not working. Pin
bhavnvyas6-Nov-09 18:24
bhavnvyas6-Nov-09 18:24 

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.