foreach (WeekSummary summary in report.Summary)
{
DocumentFormat.OpenXml.Spreadsheet.Row row = new DocumentFormat.OpenXml.Spreadsheet.Row();
row.RowIndex = (UInt32)rowIndex++;
row.AppendChild<Cell>(new Cell() { DataType = CellValues.String, CellValue = new CellValue(summary.Name ?? "") });
row.AppendChild<Cell>(new Cell() { DataType = CellValues.String, CellValue = new CellValue(summary.Contact ?? "") });
sheetData.AppendChild<Row>(row);
}
This is my code which i've insert cells to row.. I want to lock those cells.. I wouldn't find any solution for this ?
How to resolve this programmatically (c#.net)?
I couldn't find the solution for this?
could you please help me , by giving the code ?