Click here to Skip to main content
15,888,325 members
Home / Discussions / C#
   

C#

 
GeneralUnbound checkbox column in datagrid Pin
blakeb_117-Sep-04 6:12
blakeb_117-Sep-04 6:12 
GeneralRe: Unbound checkbox column in datagrid Pin
sreejith ss nair17-Sep-04 23:50
sreejith ss nair17-Sep-04 23:50 
QuestionBeginner: How to use BitFlags? Pin
matthias s.17-Sep-04 5:19
matthias s.17-Sep-04 5:19 
AnswerRe: Beginner: How to use BitFlags? Pin
leppie17-Sep-04 5:32
leppie17-Sep-04 5:32 
AnswerRe: Beginner: How to use BitFlags? Pin
Heath Stewart17-Sep-04 6:28
protectorHeath Stewart17-Sep-04 6:28 
GeneralRe: Beginner: How to use BitFlags? Pin
matthias s.17-Sep-04 7:01
matthias s.17-Sep-04 7:01 
AnswerRe: Beginner: How to use BitFlags? Pin
Grimolfr17-Sep-04 7:31
Grimolfr17-Sep-04 7:31 
GeneralInvisible Text on Grid Pin
dbetting17-Sep-04 5:02
dbetting17-Sep-04 5:02 
Problem:
Grid shows several rows of data but all the cells are blank. I have a UserControl on a form that contains several grids. All the grids are populated using a DataTable. Confused | :confused:
Populate the grids through properties of the UC from the parent form.

Resolution Research:
1. The grid shows the expected number of rows.
2. I pause the program on a double-click event to evaluate the content of the Datasource. I find the datasource contains the expected number of rows and the columns contain the expected data.
3. The color of the ForeColor was WindowText so I changed it to Black. Still blank.
4. Added a MessageBox.Show() on double-click to view the contents of the row cells (this is cell content, not DataRow content). The displayed data is the expected cell content.
5. Added a new grid but did not change a single property. Added a line to the property of one of the other grids setting the DataSource=value. Got same result with new grid! Rows show but cell content look blank.

Any ideas why the grids refuse to show the content of the cells?
QuestionIs this a compiler error? Pin
gordonpagan17-Sep-04 4:37
gordonpagan17-Sep-04 4:37 
AnswerRe: Is this a compiler error? Pin
leppie17-Sep-04 5:19
leppie17-Sep-04 5:19 
AnswerRe: Is this a compiler error? Pin
Steven Campbell17-Sep-04 7:46
Steven Campbell17-Sep-04 7:46 
GeneralWideChar Pin
yyf17-Sep-04 3:14
yyf17-Sep-04 3:14 
GeneralRe: WideChar Pin
Heath Stewart17-Sep-04 6:33
protectorHeath Stewart17-Sep-04 6:33 
GeneralFilefield postback woes Pin
Vodstok17-Sep-04 3:08
Vodstok17-Sep-04 3:08 
GeneralRe: Filefield postback woes Pin
sreejith ss nair17-Sep-04 3:40
sreejith ss nair17-Sep-04 3:40 
GeneralRe: Filefield postback woes Pin
Vodstok17-Sep-04 4:36
Vodstok17-Sep-04 4:36 
GeneralStream writing html Pin
Mikke_x17-Sep-04 2:50
Mikke_x17-Sep-04 2:50 
GeneralRe: Stream writing html Pin
Steven Campbell17-Sep-04 4:33
Steven Campbell17-Sep-04 4:33 
GeneralRe: Stream writing html Pin
Heath Stewart17-Sep-04 6:53
protectorHeath Stewart17-Sep-04 6:53 
GeneralRe: Stream writing html Pin
Mikke_x17-Sep-04 7:14
Mikke_x17-Sep-04 7:14 
Generalposting data to another url using webclient Pin
Abraham Durairaj17-Sep-04 0:31
Abraham Durairaj17-Sep-04 0:31 
GeneralMaskEdit Pin
jzb17-Sep-04 0:09
jzb17-Sep-04 0:09 
GeneralRe: MaskEdit Pin
Heath Stewart17-Sep-04 6:37
protectorHeath Stewart17-Sep-04 6:37 
GeneralGraphical programming Pin
Member 62427317-Sep-04 0:06
Member 62427317-Sep-04 0:06 
GeneralRe: Graphical programming Pin
Colin Angus Mackay17-Sep-04 1:10
Colin Angus Mackay17-Sep-04 1:10 

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.