// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/ namespace Aspose.Cells.Cloud.SDK.Example { using Aspose.Cells.Cloud.SDK.Api; using Aspose.Cells.Cloud.SDK.Request; using System; public partial class CellsApiExample { public void PostWorksheetCellSetValue1Example() { CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret")); PostWorksheetCellSetValueRequest request = new PostWorksheetCellSetValueRequest { name = "Book1.xlsx", sheetName = "Sheet1", cellName="A11", type = "string", value = "Aspose.Cells Cloud", folder = "TestData/In" }; cellsApi.PostWorksheetCellSetValue(request); } } } // Obsolet //CellsApi instance = new CellsApi(clientId, clientSecret, apiVersion, testbaseurl); //string name = BOOK1; //string sheetName = SHEET1; //string cellName = CellName; //string value = Value; //string type = Type; //string formula = Formula; //string folder = TEMPFOLDER; //instance.UploadFile(folder + @"\" + name, File.Open( @"C:\TestData\" +name)); //var response = instance.CellsPostWorksheetCellSetValue(name, sheetName, cellName, value, type, formula, folder); //Assert.IsInstanceOf<CellResponse>(response, "response is CellResponse"); //Assert.AreEqual(response.Status, "OK");