...
7. Go to the web form page, ExcelApplication_HelloWorld.aspx, to try out the sample. In the output file, you will see that the custom text from the form has been inserted into cell "A1".
SCREEN SHOT
Final Code
Csharp | ||||
---|---|---|---|---|
| ||||
using SoftArtisans.OfficeWriter.ExcelWriter;
ExcelApplication oXLAPP = new ExcelApplication();
ExcelApplication oXLAPP = new ExcelApplication();
Worksheet oWKST = oWB.Worksheets[0];
string value = DataValueBox.Text.Trim();
oWKST.Cells[0,0].Value = value;
oXLAPP.Save(oWB, Page.Response, "Output.xlsx", false);
|
Vbnet |
---|