LobsterSte
Programmer
How can I changed the text above every column in a datagrid?
I can't find anything about it in Msdn!
Please Help!
I can't find anything about it in Msdn!
Please Help!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim dgTS As New DataGridTableStyle
Dim ColStyle As New DataGridTextBoxColumn
ColStyle.MappingName = "Emp_name"
ColStyle.HeaderText = "Employee Name"
dgTS.GridColumnStyles.Add(ColStyle)
dg.TableStyles.Add(dgTS)
<Columns>
<asp:BoundColumn DataField="Emp_name" HeaderText="Employee Name"></asp:BoundColumn>
</Columns>