Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form wherein i m using a label with the name "lyrics" . I want to enter lyrics in html text editor so that later i can change fonts and styles . I wanted to know the html code for the text editor .
Someone please help . I need it urgently .

2 Years
Discussion Span
Last Post by Dipanjana

Do you mean this?, it's quite downloadable application written by people who are into this stuff. This might help you. WYSWIG are applications which would automatically format text for you, so it looks normal at first as you type.

Edited by Aeonix


No i do not want to use an existing Text editor, I actually want to write html code for text editor in which i shall be able to enter lyrics after running the program .


Hi , I am using HTML editor using the AJAX control toolkit .Now the next thing is that whatever text i enter in the html text editor , it should show in database .For example ,I am entering lyrics in the text editor so the lyrics should appear in the song table that has lyrics field. I have writted the following code but it does not work. Someone please help .I need this urgently .

HTML Source code :

     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
     <cc1:Editor ID="Editor1"  Width="450px" Height="400px" runat="server" /> <br />
    <p align="center"> 
    <asp:Button runat="server" Text="Submit" ID="btnSubmitSong" onclick="btnSubmitSong_Click"/>

and in code behind :

protected void btnSubmitSong_Click(object sender, EventArgs e)
        Songs oSong = new Songs(strcon);
        oSong.Where.Description.Value = txtDescription.Value;
        if (!oSong.Query.Load())
            oSong.s_Description = txtDescription.Value;
            oSong.s_Lyrics = Editor1.Content; 

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.