if yes..please suggest me with sample example..
How to store text of text area to database
hi sir........is it possible to store text of text area into database?
Know the answer? Post it. Somebody with the same question will find it here.

hi,
yes it is possible to store text area 's text into data base.
this is same as store text box value in to data base. but for same you have to fix string length and according to this you have fix length of filed in database.
if you are SQL2005 and above user than you can also use Varchar(max).
hope this will help you.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jun 24, 2013, 8:59 PM EDT
http://stackoverflow.com/questions/16296695/asp-net-get-the-value-from-textarea
ex-
aspx page:
cs code to get the textarea value:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class textare : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = Request.Form["txtImagename1"];
}
}
check this you can pass this value to database also . check the bold letter line
Iftikar HussainRank #423 · 5.9K reputationPosted Jun 24, 2013, 9:17 PM EDT
Yes, it is possible to store it. Please refer below example where I am saving Employee details in database.
I will be storing Employee First Name, Last Name and Address (which is a textarea)
In .aspx page
In code behind (.aspx.cs)
protected void BtnSave_Click(object sender, EventArgs e)
Regards,
Iftikar
Please let me know if you need more information.
Remember to click "Mark as Answer" on the post, if it helps you.