DataGrid更改列标题问题
//为dgInputBuffer设置数据库
customerTable = new DataTable( "Customers" );
//添加字段
customerTable.Columns.Add( "ISBN", typeof(string) );
customerTable.Columns.Add( "Name", typeof(string) );
customerTable.Columns.Add( "Publisher", typeof(string) );
customerTable.Columns.Add( "Author", typeof(string) );
customerTable.Columns.Add( "Index1", typeof(string) );
customerTable.Columns.Add( "Index2", typeof(string) );
customerTable.Columns.Add( "Price", typeof(decimal) );
customerTable.Columns.Add( "Number", typeof(int) );
//设置关键字
customerTable.Columns[ "ISBN" ].Unique = true;
customerTable.PrimaryKey = new DataColumn[] { customerTable.Columns["ISBN"] };
this.dgInputBuffer.DataSource = new DataView(this.customerTable);
之后,dgInputBuffer(DataGrid)每一列的标题都是英文的,但我想要把它们都改成相对的中文,该如何做?