Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
QuestionCan I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Charith Jayasundara14-Dec-08 11:04
Charith Jayasundara14-Dec-08 11:04 
AnswerRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Colin Angus Mackay14-Dec-08 12:17
Colin Angus Mackay14-Dec-08 12:17 
GeneralRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Lev Danielyan14-Dec-08 19:37
Lev Danielyan14-Dec-08 19:37 
GeneralRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Charith Jayasundara14-Dec-08 22:45
Charith Jayasundara14-Dec-08 22:45 
GeneralRe: Can I add new fields to an existing type using reflection( FieldBuilder) ? Pin
Lev Danielyan14-Dec-08 23:52
Lev Danielyan14-Dec-08 23:52 
QuestionDataGridViewComboBoxColumn, how the bound dataset into the datagridview. Pin
leeoze14-Dec-08 9:58
leeoze14-Dec-08 9:58 
AnswerRe: DataGridViewComboBoxColumn, how the bound dataset into the datagridview. Pin
basambora14-Dec-08 10:50
basambora14-Dec-08 10:50 
GeneralI tried to replace but there is a problem: Pin
leeoze14-Dec-08 18:48
leeoze14-Dec-08 18:48 
I've created a DataGridViewComboBoxColumn named "cbx". Added 0->"male",1->"female" to it's items;
I've added the "cbx" to my GridView as "sexA" column and for each row I "sexA".value = "sex".value;
i used this line:
gridview.Rows[0].Cells["sexA"].value = gridview.Rows[0].Cells["sex"].value;

Just as a remainder, "sex" is int type and also the "cbx" value is int type.
thought the results should be to show the displaymember on "sexA" by the value of "sex" it doesn't show anything on "sexA". Although later on I can edit and select a new value to "sexA" but can't do that using code!

it's seems like it doesn't update the gridview.
I tried GridView.Refresh().
Any ideas?

tnx
QuestionSin(pi) = 3,23108510433268E-15 Pin
Fernando I14-Dec-08 7:34
Fernando I14-Dec-08 7:34 
AnswerRe: Sin(pi) isn't always zero Pin
Luc Pattyn14-Dec-08 8:04
sitebuilderLuc Pattyn14-Dec-08 8:04 
AnswerRe: Sin(pi) = 3,23108510433268E-15 Pin
Paul Conrad14-Dec-08 9:10
professionalPaul Conrad14-Dec-08 9:10 
GeneralRe: Sin(pi) = 3,23108510433268E-15 Pin
Luc Pattyn14-Dec-08 9:36
sitebuilderLuc Pattyn14-Dec-08 9:36 
GeneralRe: Sin(pi) = 3,23108510433268E-15 Pin
Paul Conrad14-Dec-08 11:01
professionalPaul Conrad14-Dec-08 11:01 
GeneralRe: Sin(pi) = 3,23108510433268E-15 Pin
Christian Graus14-Dec-08 9:36
protectorChristian Graus14-Dec-08 9:36 
GeneralRe: Sin(pi) = 3,23108510433268E-15 Pin
Mark Salsbery14-Dec-08 10:52
Mark Salsbery14-Dec-08 10:52 
GeneralRe: Sin(pi) = 3,23108510433268E-15 Pin
Paul Conrad14-Dec-08 11:03
professionalPaul Conrad14-Dec-08 11:03 
QuestionCan't sand ae HTTP POST request with HttpWebRequest Pin
Raphael Javaux14-Dec-08 7:14
Raphael Javaux14-Dec-08 7:14 
AnswerRe: Can't sand ae HTTP POST request with HttpWebRequest Pin
Garth J Lancaster14-Dec-08 11:03
professionalGarth J Lancaster14-Dec-08 11:03 
QuestionPropertyGrid change font of Values Pin
Xmen Real 14-Dec-08 6:33
professional Xmen Real 14-Dec-08 6:33 
AnswerRe: PropertyGrid change font of Values Pin
netJP12L14-Dec-08 13:13
netJP12L14-Dec-08 13:13 
GeneralRe: PropertyGrid change font of Values Pin
Xmen Real 14-Dec-08 14:38
professional Xmen Real 14-Dec-08 14:38 
Questionsaving DataTable in Properties.Settings Pin
Xmen Real 14-Dec-08 6:31
professional Xmen Real 14-Dec-08 6:31 
AnswerRe: saving DataTable in Properties.Settings Pin
Christian Graus14-Dec-08 9:37
protectorChristian Graus14-Dec-08 9:37 
GeneralRe: saving DataTable in Properties.Settings Pin
Xmen Real 14-Dec-08 14:40
professional Xmen Real 14-Dec-08 14:40 
QuestionHow to capture video file on screen? Pin
ping_jacob14-Dec-08 6:16
ping_jacob14-Dec-08 6:16 

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.