That redirected path when i clicked the save button is blocked here so error occurs.
So please give your mail ID.
using System;
using Aspose.Cells;
using System.Data;
namespace AsposeCellsDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Press any key to create CSv file:");
Console.ReadLine();
var workBook = new Workbook();
Worksheet worksheet = workBook.Worksheets[0];
DataTable dataTable = new DataTable();
dataTable.Columns.Add(new DataColumn("Name", typeof(string)));
dataTable.Columns.Add(new DataColumn("Home Address", typeof(string)));
dataTable.Columns.Add(new DataColumn("Communication Address", typeof(string)));
dataTable.Columns.Add(new DataColumn("Phone number Mobile or land Line", typeof(string)));
DataRow dataRow1 = dataTable.NewRow();
dataRow1[0] = "Velkumar";
dataRow1[1] = "Kumarakovil kanyakumari";
dataRow1[2] = "Kumarakovil Nagercoil kanyakumari";
dataRow1[3] = "456546465465";
DataRow dataRow2 = dataTable.NewRow();
dataRow2[0] = "Velkumar Kannan";
dataRow2[1] = "Kumarakovil kanyakumari tamilnadu";
dataRow2[2] = "Kumarakovil Nagercoil kanyakumari India";
dataRow2[3] = "353544536453644";
dataTable.Rows.Add(dataRow1);
dataTable.Rows.Add(dataRow2);
worksheet.Cells.ImportDataTable(dataTable, true, "A1");
worksheet.Cells.StandardWidth = 80.5;
workBook.Save("E:\\Demo.csv");
Console.WriteLine("Successfully created in E drive.");
Console.WriteLine("==================================================");
Console.WriteLine("==================================================");
Console.WriteLine("Press any key to exit");
Console.ReadLine();
}
}
}