以前遇到过类似的问题 
你先string tempString=s1+" "+s2+" "+s3+"台";
在datagrid1.captiontext=tempString;试试

解决方案 »

  1.   

    你先string tempString=s1+" "+s2+" "+s3+"台";
    在datagrid1.captiontext=tempString;试试
    ******************************************
    还是不行。
    另外长度我是没有设置的。
      

  2.   

    private void button1_Click(object sender, System.EventArgs e)
    {
    string s1,s2,s3=null; s1="aaa";
    s2="bbb";
    s3="ccc";
    label2.Text=s1+" "+s2+" "+s3+"台";
    label3.Text= s3+"台 "+s1+" "+s2;}
    一点问题也没有啊
    我试下来