Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To save the content of the Aspose.Cells.GridWeb control as an Excel file:
When the Aspose.Cells.GridWeb control is added to a web form, the control is automatically instantiated and added to the form with a default size. You don’t have to create an Aspose.Cells.GridWeb control object; all you have to do is drag and drop the control and start using it.
The code example below illustrates how to save grid content to an Excel file.
The above code snippet can be used in several ways. A common approach is to add a button that saves the grid content to an Excel file when clicked. Aspose.Cells.GridWeb offers an easier approach for the task. Aspose.Cells.GridWeb has an event called SaveCommand. The above code snippet can be added to the SaveCommand event’s handler, which allows users to save their work by clicking the Aspose.Cells.GridWeb’s in‑built Save button.
The GridWeb’s SaveCommand event

Saving grid content to Excel by clicking GridWeb’s in‑built Save button

It is also possible to save grid content to a stream (for example, MemoryStream).
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.