可以隐藏,如下:
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q708q

解决方案 »

  1.   

    http://lucky_elove.www1.dotnetplayground.com/
      

  2.   

    http://expert.csdn.net/Expert/topic/1618/1618445.xml?temp=.8810846
      

  3.   

    string conStr = @"Provider=Microsoft.JET.OLEDB.4.0;data source=C:\northwind.mdb"; 
     
         string sqlStr = "SELECT * FROM Employees"; 
     
         // Create connection object 
     
         OleDbConnection conn = new OleDbConnection(conStr); 
     
         // Create data adapter object 
     
         OleDbDataAdapter da = new OleDbDataAdapter(sqlStr,conn); 
      
         // Create a dataset object and fill with data using data adapter's Fill method 
     
         DataSet ds = new DataSet(); 
     
         da.Fill(ds, "Employees"); 
      
         // Hide the column and attach dataset's DefaultView to the datagrid control 
     
         ds.Tables["Employees"].Columns["LastName"].ColumnMapping = MappingType.Hidden; 
     
         dataGrid1.DataSource = ds.Tables["Employees"];
     
      

  4.   


     
         // Hide the column and attach dataset's DefaultView to the datagrid control 
     
         ds.Tables["Employees"].Columns["LastName"].ColumnMapping = MappingType.Hidden; 
     
         dataGrid1.DataSource = ds.Tables["Employees"]; 
      

  5.   

    ds.Tables["Employees"].Columns["LastName"].ColumnMapping = MappingType.Hidden;