Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Color Names Pin
Joshua Quick16-Feb-06 22:45
Joshua Quick16-Feb-06 22:45 
Questionhow to get the hostname of a client pc in my network Pin
batmanAgen16-Feb-06 18:40
batmanAgen16-Feb-06 18:40 
AnswerRe: how to get the hostname of a client pc in my network Pin
fang_eric16-Feb-06 21:23
fang_eric16-Feb-06 21:23 
Questionuser control is not getting loaded Pin
sasire1816-Feb-06 18:31
sasire1816-Feb-06 18:31 
AnswerRe: user control is not getting loaded Pin
nandank8116-Feb-06 18:59
nandank8116-Feb-06 18:59 
QuestionQuestion about create simple image in c# Pin
Yanshof16-Feb-06 18:18
Yanshof16-Feb-06 18:18 
QuestionClipboard Issues Pin
nemnesic16-Feb-06 17:14
nemnesic16-Feb-06 17:14 
QuestionC# 2005 - Datagrid and comboBoxes, How do I ... ? Pin
JC Carmo16-Feb-06 17:08
JC Carmo16-Feb-06 17:08 
Hello everyone,

I have a DataGridView in a windows form with three columns:

Column1 is TipoComboBoxColumn
Column2 is QuantidadeColumn
Column3 is SementeComboBoxColumn

I need the SementeComboBoxColumn to display values according to the value I select in the TipoComboBoxColumn.

How do I go about accomplishing that? The code below works in part, BUT when I'm editing the value of SementeComboBoxColumn, the other values for the other rows in this column disappear. This is driving nuts!


private void tabBAdetDataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (tabBAdetDataGridView.Columns[e.ColumnIndex].Name == "EspecieComboBoxColumn")
{
this.tabSementesTableAdapter.FillByTipo(this.sascrDataSet.tabSementes, tabBAdetDataGridView.Rows[e.RowIndex].Cells["TipoComboBoxColumn"].Value.ToString());
this.EspecieComboBoxColumn.DataSource = this.tabSementesBindingSource;
this.EspecieComboBoxColumn.DisplayMember = "Semente";
}
else
{
this.tabSementesTableAdapter.Fill(this.sascrDataSet.tabSementes);
this.EspecieComboBoxColumn.DataSource = this.tabSementesBindingSource;
this.EspecieComboBoxColumn.DisplayMember = "Semente";
}
}

Thanks in advance,

JC Carmo
QuestionC# 2005 - childForm setting MDIParent of another childForm Pin
JC Carmo16-Feb-06 17:06
JC Carmo16-Feb-06 17:06 
AnswerRe: C# 2005 - childForm setting MDIParent of another childForm Pin
nandank8116-Feb-06 19:10
nandank8116-Feb-06 19:10 
AnswerRe: C# 2005 - childForm setting MDIParent of another childForm Pin
AB777116-Feb-06 19:12
AB777116-Feb-06 19:12 
QuestionWebBrowser Control Callbacks Pin
Twisty McGee16-Feb-06 15:04
Twisty McGee16-Feb-06 15:04 
QuestionShow ContextMenu Automatically Pin
jgallen2316-Feb-06 14:16
jgallen2316-Feb-06 14:16 
AnswerRe: Show ContextMenu Automatically Pin
nandank8116-Feb-06 19:14
nandank8116-Feb-06 19:14 
GeneralRe: Show ContextMenu Automatically Pin
jgallen2317-Feb-06 5:32
jgallen2317-Feb-06 5:32 
QuestionModal Dialogs Pin
Tyrus18216-Feb-06 14:01
Tyrus18216-Feb-06 14:01 
AnswerRe: Modal Dialogs Pin
Joshua Quick16-Feb-06 14:28
Joshua Quick16-Feb-06 14:28 
AnswerRe: Modal Dialogs Pin
Dave Kreskowiak16-Feb-06 14:30
mveDave Kreskowiak16-Feb-06 14:30 
QuestionDataList Pin
Sean8916-Feb-06 13:53
Sean8916-Feb-06 13:53 
News[Message Deleted] Pin
Ahmad Mahmoud [candseeme]16-Feb-06 13:33
Ahmad Mahmoud [candseeme]16-Feb-06 13:33 
GeneralRe: Startup Edit Pin
Christian Graus16-Feb-06 15:49
protectorChristian Graus16-Feb-06 15:49 
GeneralRe: Startup Edit Pin
Ahmad Mahmoud [candseeme]18-Feb-06 22:20
Ahmad Mahmoud [candseeme]18-Feb-06 22:20 
GeneralRe: Startup Edit Pin
Christian Graus19-Feb-06 7:45
protectorChristian Graus19-Feb-06 7:45 
QuestionImplementing a .NET IDE Designer-like Application Pin
Pink Floyd16-Feb-06 12:50
Pink Floyd16-Feb-06 12:50 
AnswerRe: Implementing a .NET IDE Designer-like Application Pin
Curtis Schlak.16-Feb-06 12:55
Curtis Schlak.16-Feb-06 12:55 

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.