for begineers
step1) just design a web page with simple div with runat server and design it just like a textbox and add a asp button .
step2) now open the click event of the button. and
get the data. and save it in sql database.
its just to store first complete this and let me know if u could achive this
source:
<body>
<form runat="server">
<pre lang="xml"><div id="andy" runat="server" contenteditable style=" background-color:Silver; color:Red; height:300px; width:400px; ">
this is ur doc viewer cum edittor
</div>
<asp:Button ID="btnadd" runat="server" />
</form>
</body>
</pre>
<pre lang="c#">
</pre>
now what ull have to do is get the data from ui
protected void btnadd_Click(object sender, EventArgs e)
{
string a = andy.InnerHtml;
}
void loaddatainto edditor()
{
andy.InnerHtml =
}
is this enough this is one of the best idea to save a document and view them later or edit using asp