我的程序如下:
this.excel = new ApplicationClass();
int num1 = 1;
int num2 = 0;
this.excel.Application.Workbooks.Add(true);
System.Data.DataTable table1 = this.dsStatistics.Tables[0];
this.excel.Cells[1, 1] = "300";
this.excel.Cells[1, 2] = "500";
this.excel.Cells[1, 3] = "100";
this.excel.Cells[1, 4] = "700";
this.excel.Visible = true;怎么改这个字体和大小呢?
谢谢!
this.excel = new ApplicationClass();
int num1 = 1;
int num2 = 0;
this.excel.Application.Workbooks.Add(true);
System.Data.DataTable table1 = this.dsStatistics.Tables[0];
this.excel.Cells[1, 1] = "300";
this.excel.Cells[1, 2] = "500";
this.excel.Cells[1, 3] = "100";
this.excel.Cells[1, 4] = "700";
this.excel.Visible = true;怎么改这个字体和大小呢?
谢谢!
解决方案 »
- 当textbox为空白的时候就出错,该如何解决呢
- 如何实现时时窗体与数据库的数据互通
- 【正则表达式】如何写这样的一个正则?
- 怎样把gif格式的图片转换为bmp格式的图片然后再把bmp格式转换为二进制保存
- XML的问题
- 如何知道鼠标左键处于一直按下的状态。
- C#写的俄罗斯方块游戏,欢迎提出宝贵意见!
- 我想在局域网内共享音响,大家有什么好的办法?
- 基于.NET开发的程序无法运行是什么原因?
- 将数据从托管对象封送到非托管内存块的问题,请各位高手赐教啊!
- 被黑,SQL里加了一个名为 D99_CMD的表,不知道有没有朋友知道方法
- 如何在软件安装的时候创建一个共享文件夹和一个系统用户(用来读写这个文件夹)?
参考一下这个吧!
还有这个!