נניח ויש לי טבלה שיושבת במשתנה מסוג DataTable, ואני רוצה להציג אותה בעזרת DataGrid. הבעיה היא, שאני רוצה לשנות את שמות העמודות המוצגות ב-DataGrid. האם הדבר נעשה ע"י DataView ? ואם כן, איך אני בעצם קובע את השמות החדשים ? תודה.
dim tableStyle as new dataGridTableStyle tableStyle.DataGrid=DataGrid1 (DataGrid1.TableStyles.Add(tablestyle dim col1 as new DataGridTextBoxColumn "col1.headerText="ColName