Aspose.Cells.GridWeb.Examples.CSharp.Cells.ModifyCells.AddIntValue C# (CSharp) Method

AddIntValue() private method

private AddIntValue ( ) : void
return void
        private void AddIntValue()
        {
            // ExStart:AddCellIntValue
            // Accessing the worksheet of the Grid that is currently active
            GridWorksheet sheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];

            // Accessing "B3" cell of the worksheet
            GridCell cell = sheet.Cells["B3"];

            // Putting a value in "B3" cell
            cell.PutValue(30);
            // ExEnd:AddCellIntValue
        }