Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to build my own database? Pin
Heath Stewart7-Jun-04 4:48
protectorHeath Stewart7-Jun-04 4:48 
GeneralExcel datetime Pin
Daniel Foo Chee Kwan6-Jun-04 16:25
Daniel Foo Chee Kwan6-Jun-04 16:25 
GeneralRe: Excel datetime Pin
Heath Stewart7-Jun-04 5:12
protectorHeath Stewart7-Jun-04 5:12 
QuestionHow do I get to the main form Pin
6-Jun-04 16:17
suss6-Jun-04 16:17 
AnswerRe: How do I get to the main form Pin
Stefan Troschuetz6-Jun-04 21:20
Stefan Troschuetz6-Jun-04 21:20 
GeneralRe: How do I get to the main form Pin
Member 9521757-Jun-04 1:58
Member 9521757-Jun-04 1:58 
GeneralRe: DataGrid Pin
myNameIsRon6-Jun-04 13:49
myNameIsRon6-Jun-04 13:49 
GeneralRe: DataGrid Pin
Charlie Williams6-Jun-04 14:42
Charlie Williams6-Jun-04 14:42 
Add a DataGridTableStyle to your grid. Any columns in your table that do not map to a DataGridColumnStyle in your DataGridTableStyle will not be shown. Or you can add a DataGridColumnStyle for every column and set the Width property to zero for the columns you don't want shown.

DataGridTableStyle style = new DataGridTableStyle();
style.MappingName = "myDataTable";

DataGridColumnStyle colStyle = new DataGridTextBoxColumn();
colStyle.MappingName = "col1";
style.GridColumnStyles.Add(colStyle);

colStyle = new DataGridTextBoxColumn();
colStyle.MappingName = "col2";
style.GridColumnStyles.Add(colStyle);

colStyle = new DataGridTextBoxColumn();
colStyle.MappingName = "col3";
colStyle.Width = 0;
style.GridColumnStyles.Add(colStyle);

dataGrid1.TableStyles.Add(style);


Charlie

if(!curlies){ return; }
GeneralRe: DataGrid Pin
myNameIsRon6-Jun-04 15:09
myNameIsRon6-Jun-04 15:09 
GeneralRe: DataGrid Pin
Dave Kreskowiak7-Jun-04 6:38
mveDave Kreskowiak7-Jun-04 6:38 
GeneralRe: DataGrid Pin
myNameIsRon8-Jun-04 11:22
myNameIsRon8-Jun-04 11:22 
GeneralSave a string in text file Pin
zlaty6-Jun-04 8:56
zlaty6-Jun-04 8:56 
GeneralRe: Save a string in text file Pin
Mazdak6-Jun-04 9:13
Mazdak6-Jun-04 9:13 
GeneralRe: Save a string in text file Pin
zlaty6-Jun-04 9:43
zlaty6-Jun-04 9:43 
GeneralRe: Save a string in text file Pin
Heath Stewart6-Jun-04 13:46
protectorHeath Stewart6-Jun-04 13:46 
GeneralRe: Save a string in text file Pin
Heath Stewart6-Jun-04 13:47
protectorHeath Stewart6-Jun-04 13:47 
GeneralRe: Save a string in text file Pin
Peff6-Jun-04 10:20
Peff6-Jun-04 10:20 
GeneralRe: Save a string in text file Pin
zlaty6-Jun-04 10:34
zlaty6-Jun-04 10:34 
GeneralRe: Save a string in text file Pin
Heath Stewart6-Jun-04 13:43
protectorHeath Stewart6-Jun-04 13:43 
GeneralRe: Save a string in text file Pin
zlaty7-Jun-04 4:21
zlaty7-Jun-04 4:21 
GeneralRe: Table Size Selector Control Pin
Heath Stewart6-Jun-04 13:48
protectorHeath Stewart6-Jun-04 13:48 
GeneralMicrosoft.ApplicationBlocks.ExceptionManagement Pin
Member 11509016-Jun-04 6:22
Member 11509016-Jun-04 6:22 
GeneralRe: Microsoft.ApplicationBlocks.ExceptionManagement Pin
Charlie Williams6-Jun-04 8:31
Charlie Williams6-Jun-04 8:31 
QuestionHow can i get the index of a doubleclicked item in the listbox? Pin
yipan6-Jun-04 5:24
yipan6-Jun-04 5:24 
AnswerRe: How can i get the index of a doubleclicked item in the listbox? Pin
Stefan Troschuetz6-Jun-04 6:32
Stefan Troschuetz6-Jun-04 6:32 

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.