Hi nedash,
I have created sample code which fulfill your requirement. So please refer the below sample code and modify as per your requirement.
HTML
<div>
<asp:DataList ID="DLPakage" runat="server" RepeatDirection="Vertical" CssClass="DlPak"
RepeatColumns="2">
<ItemTemplate>
<div id="PakM">
<asp:Label ID="LblDes" runat="server" CssClass="lblPGD" Text='<%# (Eval("Comment").ToString()) %>'></asp:Label>
</div>
</ItemTemplate>
</asp:DataList>
</div>
C#
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(constring);
SqlCommand cmd = new SqlCommand("SELECT [Comment] FROM [UserComments]", con);
SqlDataAdapter sda = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
sda.Fill(dt);
DLPakage.DataSource = dt;
DLPakage.DataBind();
}
Sql
CREATE TABLE [dbo].[UserComments](
[Name] [varchar](50) NULL,
[Comment] [nvarchar](250) NULL,
[CreateDate] [datetime] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[UserComments] ([Name], [Comment], [CreateDate]) VALUES (N'Peter', N'<p>this is for test</p><p> </p><p><img alt="" src="ckfinder/userfiles/images/101.JPG" style="height:125px; width:200px" /></p>', CAST(0x0000A72801184FB3 AS DateTime))
INSERT [dbo].[UserComments] ([Name], [Comment], [CreateDate]) VALUES (N'Peter', N'<p>this is for test</p><p> </p><p><img alt="" src="ckfinder/userfiles/images/102.JPG" style="height:125px; width:200px" /></p>', CAST(0x0000A7280118167F AS DateTime))
Screenshot