VSTOS – Excel File Control Exsample
public void SaveAsExcel(System.Data.DataTable dtData, string filePath) { Excel.ApplicationClass app = null; Excel.Workbooks workbooks = null; Excel.Workbook workbook = null; Excel.Sheets sheets = null; Excel.Worksheet sheet = null; Excel.Range cells = null; Excel.Range range = null; string saveAsFile = string.Empty; try { app = new Excel.ApplicationClass(); workbooks = app.Workbooks; workbook = ..
C#/VSTO
2010. 8. 5. 20:00