Click here to Skip to main content
15,885,910 members
Home / Discussions / C#
   

C#

 
QuestionAlter A query In Access using c# Pin
Abdul Rahman Hamidy29-Sep-09 20:43
Abdul Rahman Hamidy29-Sep-09 20:43 
AnswerRe: Alter A query In Access using c# Pin
Abdul Rahman Hamidy30-Sep-09 3:06
Abdul Rahman Hamidy30-Sep-09 3:06 
Questionchange property return type dynamically Pin
$unil Dhiman29-Sep-09 20:12
$unil Dhiman29-Sep-09 20:12 
AnswerRe: change property return type dynamically Pin
Christian Graus29-Sep-09 20:20
protectorChristian Graus29-Sep-09 20:20 
GeneralRe: change property return type dynamically Pin
$unil Dhiman29-Sep-09 20:33
$unil Dhiman29-Sep-09 20:33 
GeneralRe: change property return type dynamically Pin
Christian Graus29-Sep-09 22:12
protectorChristian Graus29-Sep-09 22:12 
Questiondatagrid combobox column Pin
Member 59031029-Sep-09 19:47
Member 59031029-Sep-09 19:47 
AnswerRe: datagrid combobox column Pin
Greg Chelstowski29-Sep-09 21:28
Greg Chelstowski29-Sep-09 21:28 
I understand you have set the DataSource of the DataGridViewComboBoxColumn, as well as its DisplayMember and ValueMember properties.
When you have done so, just set the ValueType property of it, like so:
((DataGridViewComboBoxColumn)dataGridView1.Columns[2]).ValueType = typeof(Int32);


Obviously, changing the name of dataGridView1 to your datagridview's name and the index (in this instance: 2) to the index of your combobox column.

Hope it helps.

var question = (_2b || !(_2b));

Questiondatetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:04
abcurl29-Sep-09 18:04 
AnswerRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:27
mentorNot Active29-Sep-09 18:27 
GeneralRe: datetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:30
abcurl29-Sep-09 18:30 
GeneralRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:37
mentorNot Active29-Sep-09 18:37 
QuestionRe: datetime picker in datagridview c# 2008 Pin
abcurl29-Sep-09 18:40
abcurl29-Sep-09 18:40 
AnswerRe: datetime picker in datagridview c# 2008 Pin
Not Active29-Sep-09 18:46
mentorNot Active29-Sep-09 18:46 
QuestionWCF,3Tier Pin
Member 232129329-Sep-09 17:47
Member 232129329-Sep-09 17:47 
QuestionModify a Dataset then apply dataset to sql server... What am I doing wrong Please? Pin
JollyMansArt29-Sep-09 12:25
JollyMansArt29-Sep-09 12:25 
AnswerRe: Modify a Dataset then apply dataset to sql server... What am I doing wrong Please? Pin
JollyMansArt29-Sep-09 12:35
JollyMansArt29-Sep-09 12:35 
QuestionHow to run a wcf service in System Context? Pin
AndyASPVB29-Sep-09 11:44
AndyASPVB29-Sep-09 11:44 
AnswerRe: How to run a wcf service in System Context? Pin
Calla29-Sep-09 19:35
Calla29-Sep-09 19:35 
GeneralRe: How to run a wcf service in System Context? Pin
AndyASPVB30-Sep-09 8:43
AndyASPVB30-Sep-09 8:43 
QuestionFind First Row using WildCard and nonPrimary Column Pin
KCI-VA29-Sep-09 10:36
KCI-VA29-Sep-09 10:36 
AnswerRe: Find First Row using WildCard and nonPrimary Column [modified] Pin
Eddy Vluggen29-Sep-09 10:53
professionalEddy Vluggen29-Sep-09 10:53 
AnswerRe: Find First Row using WildCard and nonPrimary Column Pin
Henry Minute29-Sep-09 11:06
Henry Minute29-Sep-09 11:06 
QuestionRe: Find First Row using WildCard and nonPrimary Column [modified] Pin
KCI-VA30-Sep-09 2:18
KCI-VA30-Sep-09 2:18 
QuestionInsert/Update into Table with many fields. Pin
castrand129-Sep-09 9:59
castrand129-Sep-09 9:59 

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.