dataGrid1.Caption.Text可以在dataGrid1的属性里设,
我看你的dataGrid1有问题

解决方案 »

  1.   

    抱歉,winform里没databind
    这样:
    dataGrid1.DataSource = m_dataset.Tables["stutable"].DefaultView;
      

  2.   

    Hi there, 
    The 'System.Windows.Forms.DataGridView' is the new control in VS2005 beta. 
    So I would assume you are using using VS2005 beta, right? Here is a link about this new control. 
    http://msdn2.microsoft.com/library/e0ywh3cz.aspxthis is a beter grid control compared to the old DataGrid. If you want to use the old DataGrid, it is still there: 'System.Windows.Forms.DataGrid'Hope this would help! Sorry, my computer cannot print Chinese right now. John Chen(MS) 
    本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利
      

  3.   

    呵呵,的确我是用的VS2005 beta
    Thaks for your help
    I will have a try
    Thank you all the same!!!