Click here to Skip to main content
15,881,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: InvalidOperationException Pin
Kant15-Jul-03 12:06
Kant15-Jul-03 12:06 
GeneralRe: InvalidOperationException Pin
Nick Parker15-Jul-03 17:12
protectorNick Parker15-Jul-03 17:12 
GeneralGDI+ Pin
Mazdak15-Jul-03 8:39
Mazdak15-Jul-03 8:39 
GeneralRe: GDI+ Pin
Nick Parker15-Jul-03 17:20
protectorNick Parker15-Jul-03 17:20 
GeneralWebBrowser control bug- application wont die Pin
Bog15-Jul-03 8:25
Bog15-Jul-03 8:25 
Generalnevermind Pin
Bog15-Jul-03 15:24
Bog15-Jul-03 15:24 
QuestionHow to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 7:41
work_to_live15-Jul-03 7:41 
AnswerRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 7:53
Frank Olorin Rizzi15-Jul-03 7:53 
If you want to set them at design time, use the properties of the data grid...
Click on the data Grid; in the Properties panel, you should find a row for "TableStyles" with value "(Collection)" and a "..." button. Click on that, and you access the dialog through which you can set up the table style...
you can add a new table style (or modify one that you already have), and in the right-hand side of this dialog you should find the Misc > GridColumnStyles property (with value "(Collection)" and the "..." button). Click on the "..." button to access the dialog to set up the column styles for the given table style.
You can add a new column style or modify a pre-existing one.
Each such column style has a HeaderText property you can set as needed.

If you wish to do all this at run-time, I suggest doing it once at design time and taking a look at the code generated by the Studio for you...

HTH,
FOR
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 8:05
work_to_live15-Jul-03 8:05 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:16
Frank Olorin Rizzi15-Jul-03 8:16 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 8:28
work_to_live15-Jul-03 8:28 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:44
Frank Olorin Rizzi15-Jul-03 8:44 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:05
work_to_live15-Jul-03 9:05 
GeneralRe: How to set row header labels in a Datagrid? Pin
Not Active15-Jul-03 9:20
mentorNot Active15-Jul-03 9:20 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:33
work_to_live15-Jul-03 9:33 
GeneralFileSystemWatcher Pin
puppiesLover15-Jul-03 5:56
puppiesLover15-Jul-03 5:56 
GeneralReturning a collection class Pin
Andrew Bromfield15-Jul-03 4:26
Andrew Bromfield15-Jul-03 4:26 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:18
Frank Olorin Rizzi15-Jul-03 6:18 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:22
Andrew Bromfield15-Jul-03 6:22 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:28
Frank Olorin Rizzi15-Jul-03 6:28 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:50
Andrew Bromfield15-Jul-03 6:50 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 7:18
Frank Olorin Rizzi15-Jul-03 7:18 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 8:06
Andrew Bromfield15-Jul-03 8:06 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 12:19
Frank Olorin Rizzi15-Jul-03 12:19 
GeneralRe: Returning a collection class Pin
Andrew Bromfield16-Jul-03 4:13
Andrew Bromfield16-Jul-03 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.