I tried this code:
using (SPSite oSite = new SPSite("http://omar:2020/Lists/Calendar1/AllItems.aspx"))
{
using (SPWeb oWeb = oSite.OpenWeb())
{
SPList oList = oWeb.Lists["Calendar"];
SPListItem item = oList.GetItemById(7);
txtArea_desc.InnerText = item["Description"].ToString();
}
}
But it gave me "class="ExternalClassD6E6296DE90F457892C156ABE9631AC6Hello" in the TextArea.
Any suggestions please?