Hi,
Thanks for your posting and using Aspose.Cells.
I have uploaded the sample project. Please download it and try at your end. It uses the latest version:
Aspose.Cells for .NET 8.7.1. It uses the following code and there is no object reference exception.
Once you will run the project successfully, it will show gridweb as shown in the screenshot.
C#
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false && GridWeb1.IsPostBack == false)
{
if(HttpContext.Current.Request[“GraphType”]!=null)
{
string graphType = HttpContext.Current.Request[“GraphType”].ToString();
}
GridWorksheet sheet = GridWeb1.WorkSheets[0];
sheet.Cells[“B4”].PutValue(“Goodness”);
}
}