结构:在c#里面新建一个windows Form Application,在form里面添加textbox1和一个button(butSave)code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace savetextcsv
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }        private void butSave_Click(object sender, EventArgs e)
        {
            StreamWriter sw = new StreamWriter("D:\\EXCEL\\EXCEL.csv");
            sw.WriteLine(textBox1.Text);
            sw.Close();
            
        }
    }
}
当我在textbox1里输入了数据后,怎么把这些数据分配到excel里面不同的单元格里呢
比如说在textbox里输入 06/06/2012  1234  550  120.98E,28.45N
能否把这些数据分别保存到A2,B2,C2,D2的单元格里呢?