Click here to Skip to main content
15,915,660 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compute Speed of Download Algorithm Pin
Ravi Bhavnani3-May-06 12:48
professionalRavi Bhavnani3-May-06 12:48 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c43-May-06 12:52
zx2c43-May-06 12:52 
GeneralRe: Compute Speed of Download Algorithm Pin
Ravi Bhavnani3-May-06 12:54
professionalRavi Bhavnani3-May-06 12:54 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c43-May-06 12:58
zx2c43-May-06 12:58 
GeneralRe: Compute Speed of Download Algorithm Pin
Ravi Bhavnani3-May-06 13:03
professionalRavi Bhavnani3-May-06 13:03 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c43-May-06 13:06
zx2c43-May-06 13:06 
AnswerRe: Compute Speed of Download Algorithm Pin
Guffa3-May-06 12:58
Guffa3-May-06 12:58 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c43-May-06 12:59
zx2c43-May-06 12:59 
GeneralRe: Compute Speed of Download Algorithm Pin
Guffa3-May-06 21:58
Guffa3-May-06 21:58 
GeneralRe: Compute Speed of Download Algorithm Pin
Phil C5-May-06 20:13
Phil C5-May-06 20:13 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c46-May-06 9:16
zx2c46-May-06 9:16 
GeneralRe: Compute Speed of Download Algorithm Pin
Phil C6-May-06 10:01
Phil C6-May-06 10:01 
GeneralRe: Compute Speed of Download Algorithm Pin
zx2c46-May-06 13:30
zx2c46-May-06 13:30 
GeneralRe: Compute Speed of Download Algorithm Pin
Phil C6-May-06 15:32
Phil C6-May-06 15:32 
QuestionFull Text PDF Pin
smarttom993-May-06 11:47
smarttom993-May-06 11:47 
QuestionAdvice on best technologies for video / graphics work Pin
srev3-May-06 11:17
srev3-May-06 11:17 
QuestionHave associated files use currently running instance Pin
ilion blaze3-May-06 10:41
ilion blaze3-May-06 10:41 
AnswerRe: Have associated files use currently running instance Pin
Stefan Troschuetz3-May-06 11:14
Stefan Troschuetz3-May-06 11:14 
GeneralRe: Have associated files use currently running instance Pin
ilion blaze3-May-06 11:19
ilion blaze3-May-06 11:19 
GeneralRe: Have associated files use currently running instance Pin
Phillip M. Hoff3-May-06 19:31
Phillip M. Hoff3-May-06 19:31 
QuestionHow can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 9:51
Elvia Gonzalez3-May-06 9:51 
AnswerRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 13:09
Elvia Gonzalez3-May-06 13:09 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
goyal manish3-May-06 21:36
goyal manish3-May-06 21:36 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 7:29
Elvia Gonzalez4-May-06 7:29 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 8:13
Elvia Gonzalez4-May-06 8:13 
Hi everybody!

I have added items to the DataGridViewComboBoxColumn and the value that I want to set is one of the values in the items list. This is my code:

DataGridViewComboBoxColumn cb = new DataGridViewComboBoxColumn();
cb = CreateComboBoxColumn("Category");
cb.Items.AddRange(new string[] { "Mr.", "Ms.", "Mrs.", "Dr." });
dataGridView.Columns.Insert(1, cb);
dataGridView.Rows[0].Cells[1].Value = "Mr.";

I want to see as the selected value in the combobox “Mr.”. Once I load the form the combobox doesn’t show a selected value. I have to drop the combobox to see the items.

Any suggestion is very welcome,

Elvia

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.