Click here to Skip to main content
15,889,863 members
Home / Discussions / C#
   

C#

 
GeneralRe: TreeView and ContextMenu Pin
Heath Stewart26-Feb-04 4:48
protectorHeath Stewart26-Feb-04 4:48 
GeneralMSSQL Linked Server Pin
y_seval26-Feb-04 2:48
y_seval26-Feb-04 2:48 
GeneralRe: MSSQL Linked Server Pin
Heath Stewart26-Feb-04 3:00
protectorHeath Stewart26-Feb-04 3:00 
GeneralAutoComplete ComboBox Pin
gr8tushar26-Feb-04 0:36
gr8tushar26-Feb-04 0:36 
GeneralRe: AutoComplete ComboBox Pin
ian mariano26-Feb-04 1:06
ian mariano26-Feb-04 1:06 
GeneralRe: AutoComplete ComboBox Pin
Heath Stewart26-Feb-04 3:20
protectorHeath Stewart26-Feb-04 3:20 
QuestionHow to change Datagrid column width??? Pin
Reinier van de Wetering25-Feb-04 23:07
Reinier van de Wetering25-Feb-04 23:07 
AnswerRe: How to change Datagrid column width??? Pin
Heath Stewart26-Feb-04 3:05
protectorHeath Stewart26-Feb-04 3:05 
You actually have to add a new DataGridColumnStyle before you can refer to it. If you step through your code in the debugger, you'll notice that .GridColumnStyles["EmployeeName"] name is null - you never created such a column. You have to create all the DataGridColumnStyles you want mapped, the DataGridTableStyle, add the columns to the table style's GridColumnStyles collection property, then add the table to the DataGrid's TableStyles collection property.

 

Microsoft MVP, Visual C#
My Articles
GeneralDataRaw class Pin
y_seval25-Feb-04 22:16
y_seval25-Feb-04 22:16 
GeneralRe: DataRaw class Pin
ian mariano26-Feb-04 1:08
ian mariano26-Feb-04 1:08 
Generalhiding the control box Pin
Anthony_Yio25-Feb-04 22:13
Anthony_Yio25-Feb-04 22:13 
GeneralRe: hiding the control box Pin
thomasa25-Feb-04 22:30
thomasa25-Feb-04 22:30 
QuestionWhy my Win2k Server only run .aspx but no .asp files? Pin
DengJW25-Feb-04 21:41
DengJW25-Feb-04 21:41 
AnswerRe: Why my Win2k Server only run .aspx but no .asp files? Pin
y_seval26-Feb-04 0:53
y_seval26-Feb-04 0:53 
GeneralInitializing variables ... Pin
Andres Coder25-Feb-04 21:38
Andres Coder25-Feb-04 21:38 
GeneralRe: Initializing variables ... Pin
Corinna John25-Feb-04 22:58
Corinna John25-Feb-04 22:58 
GeneralRe: Initializing variables ... Pin
MJ Mirzazadeh26-Feb-04 0:41
MJ Mirzazadeh26-Feb-04 0:41 
GeneralRe: Initializing variables ... Pin
turbochimp26-Feb-04 2:19
turbochimp26-Feb-04 2:19 
GeneralRe: Initializing variables ... Pin
turbochimp26-Feb-04 2:22
turbochimp26-Feb-04 2:22 
GeneralBackground Image for ToolBar... Pin
Weiye Chen25-Feb-04 21:38
Weiye Chen25-Feb-04 21:38 
GeneralRe: Background Image for ToolBar... Pin
Heath Stewart26-Feb-04 4:20
protectorHeath Stewart26-Feb-04 4:20 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen26-Feb-04 19:20
Weiye Chen26-Feb-04 19:20 
GeneralRe: Background Image for ToolBar... Pin
Heath Stewart27-Feb-04 2:52
protectorHeath Stewart27-Feb-04 2:52 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen27-Feb-04 17:48
Weiye Chen27-Feb-04 17:48 
GeneralRe: Background Image for ToolBar... Pin
Weiye Chen28-Feb-04 2:47
Weiye Chen28-Feb-04 2:47 

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.