Getting values from SharePoint calculated column
Here you go for getting values from the Calculated column.
SPFieldCalculated month = (SPFieldCalculated)oitem.Fields["Month"];
SPFieldCalculated year = (SPFieldCalculated)oitem.Fields["Year"];
lblOrderConformation.Text = "ORDER CONFIRMATION IN - " + month.GetFieldValueAsText(oitem["Month"]) + " " + year.GetFieldValueAsText(oitem["Year"]);
Hope this will help you ....
Comments
Post a Comment