Click here to Skip to main content
15,901,666 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: mobile application Pin
Richard MacCutchan7-Jan-14 23:59
mveRichard MacCutchan7-Jan-14 23:59 
AnswerRe: mobile application Pin
joginder-banger9-Jan-14 19:54
professionaljoginder-banger9-Jan-14 19:54 
QuestionSSO Login Issue Pin
Rahool S7-Jan-14 23:23
Rahool S7-Jan-14 23:23 
SuggestionRe: SSO Login Issue Pin
Rahool S8-Jan-14 21:17
Rahool S8-Jan-14 21:17 
Questionopen outlook email from web apps Pin
byka7-Jan-14 9:18
byka7-Jan-14 9:18 
AnswerRe: open outlook email from web apps Pin
Richard MacCutchan7-Jan-14 22:10
mveRichard MacCutchan7-Jan-14 22:10 
GeneralRe: open outlook email from web apps Pin
byka8-Jan-14 6:32
byka8-Jan-14 6:32 
GeneralRe: open outlook email from web apps Pin
Richard MacCutchan8-Jan-14 6:46
mveRichard MacCutchan8-Jan-14 6:46 
Questioncreate a tab Pin
Member 104690297-Jan-14 4:58
Member 104690297-Jan-14 4:58 
SuggestionRe: create a tab Pin
Richard MacCutchan7-Jan-14 6:03
mveRichard MacCutchan7-Jan-14 6:03 
QuestionGenrating random number Pin
byka7-Jan-14 3:35
byka7-Jan-14 3:35 
AnswerRe: Genrating random number Pin
Shameel7-Jan-14 3:52
professionalShameel7-Jan-14 3:52 
AnswerRe: Genrating random number Pin
Richard MacCutchan7-Jan-14 4:08
mveRichard MacCutchan7-Jan-14 4:08 
Questionhow do I make a correction about using mysql in asp.net Pin
abdulkodir6-Jan-14 9:06
abdulkodir6-Jan-14 9:06 
SuggestionRe: how do I make a correction about using mysql in asp.net Pin
Shameel7-Jan-14 3:54
professionalShameel7-Jan-14 3:54 
QuestionAuto scroll panel control to bottom in asp.net Pin
Otekpo Emmanuel6-Jan-14 8:39
Otekpo Emmanuel6-Jan-14 8:39 
QuestionWhy am I getting Could not load type '......Global' Pin
QuickBooksDev5-Jan-14 7:56
QuickBooksDev5-Jan-14 7:56 
Questiondynamic table generaion Pin
Member 105005063-Jan-14 21:46
professionalMember 105005063-Jan-14 21:46 
QuestionCode for selection label in grid view Pin
Sri Nithi3-Jan-14 20:55
Sri Nithi3-Jan-14 20:55 
AnswerRe: Code for selection label in grid view Pin
Kornfeld Eliyahu Peter4-Jan-14 21:05
professionalKornfeld Eliyahu Peter4-Jan-14 21:05 
QuestionGenerateInsertUpdateDelete option is disabled Pin
Ya Rasoolallah3-Jan-14 15:26
Ya Rasoolallah3-Jan-14 15:26 
QuestionHow to Insert HTML into database using C# and ASP.Net Pin
Member 102589521-Jan-14 23:03
Member 102589521-Jan-14 23:03 
AnswerRe: How to Insert HTML into database using C# and ASP.Net Pin
Keith Barrow2-Jan-14 0:25
professionalKeith Barrow2-Jan-14 0:25 
It sounds like you are trying to write a CRM system, there are free ones available on the Internet, you might want to check these out as writing these is much harder than it looks on face-value.

To answer your question directly, you just store the HTML as you would any text. If you want to programatically add stuff into the template, you'll need to provide placeholders to insert into. e.g.
HTML
<html>
  <head>
    <title>
      The title of this page is {{title}}
    </title>
  <head>
</thml>


Then you just perform a text susbstition. You can put the results of this into an ASP.NET literal control (though the above template wouldn't be valid as the literal will be inside a form in which you'd be declaring a html document), or write to the repsonse stream

Note that you'll difficulty "injecting" ASP.NET controls to the form like this, though the HTML controls will be fine. You might want to look at ASP.NET MVC, if you have time, it is much more suited to this type of work.

GeneralRe: How to Insert HTML into database using C# and ASP.Net Pin
ZurdoDev3-Jan-14 3:34
professionalZurdoDev3-Jan-14 3:34 
Questioni need to have basic codes to create a website Pin
Sri Nithi1-Jan-14 19:05
Sri Nithi1-Jan-14 19:05 

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.