i'm trying to figure out how to fill value in Document Library column using web part. Now im using this code to add value in Task List column using this code. I'm looking solution on how to use something simillar to add value in Document Library Column. Examples and Suggestion will be much appreciated. Thanks and Regards.
SPWeb oWeb = SPContext.Current.Web;
SPListItemCollection listItems = oWeb.Lists["DDC"].Items;
SPListItem oItem = listItems.Add();
oItem["Title"] = "New Task";
oItem.Update();