Click here to Skip to main content
15,887,464 members
Home / Discussions / C#
   

C#

 
GeneralManipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 5:53
Steve McLenithan19-Jun-03 5:53 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Dimitris Iliopoulos19-Jun-03 8:13
Dimitris Iliopoulos19-Jun-03 8:13 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:23
Steve McLenithan19-Jun-03 8:23 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:36
Steve McLenithan19-Jun-03 8:36 
QuestionHow Timer works Pin
puppiesLover19-Jun-03 5:41
puppiesLover19-Jun-03 5:41 
AnswerRe: How Timer works Pin
Manster19-Jun-03 6:11
Manster19-Jun-03 6:11 
QuestionHow ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 5:10
Khang Nguyen19-Jun-03 5:10 
AnswerRe: How ow to alternate color on items of combo/list box, gurus? Pin
Manster19-Jun-03 6:28
Manster19-Jun-03 6:28 
This is what I did in a listview control. The code below changes every other row to a different back color.

private void ColorRow()
{
if( m_bListViewBackColor )
{
m_bListViewBackColor = false;
}
else
{
m_bListViewBackColor = true;
}

ListViewItem Lvi;

// Add a listitem
Lvi = m_ListView.Items.Add( 1 );
Lvi.SubItems.Add( "John" );
Lvi.SubItems.Add( "Smith" );

if( m_bListViewBackColor )
{
Lvi.BackColor = Color.Crimson;
}
else
{
m_bListViewBackColor = false;
Lvi.BackColor = Color.White;
}
}

Declare m_bListViewBackColor at the top of your app.

This isn't exactly what you're looking for, but I think it should get you headed in the right direction.
GeneralRe: How ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 11:11
Khang Nguyen19-Jun-03 11:11 
GeneralFast image processing Pin
aeros19-Jun-03 4:50
aeros19-Jun-03 4:50 
QuestionWelcome dialog when app starts? Pin
Andrey Kalganov19-Jun-03 3:50
Andrey Kalganov19-Jun-03 3:50 
AnswerRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 3:56
dazinith19-Jun-03 3:56 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 4:29
Jose Fco Bonnin19-Jun-03 4:29 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 4:49
dazinith19-Jun-03 4:49 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 5:02
Jose Fco Bonnin19-Jun-03 5:02 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 5:06
dazinith19-Jun-03 5:06 
GeneralRe: Welcome dialog when app starts? Pin
Anonymous20-Jun-03 1:07
Anonymous20-Jun-03 1:07 
GeneralRe: Welcome dialog when app starts? Pin
dazinith20-Jun-03 7:46
dazinith20-Jun-03 7:46 
QuestionHow to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:42
dazinith19-Jun-03 3:42 
AnswerRe: How to tell if something is selected in my listbox? Pin
Dimitris Iliopoulos19-Jun-03 3:48
Dimitris Iliopoulos19-Jun-03 3:48 
GeneralRe: How to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:53
dazinith19-Jun-03 3:53 
AnswerRe: How to tell if something is selected in my listbox? Pin
Manster19-Jun-03 6:46
Manster19-Jun-03 6:46 
Generalmailing with crystal reports Pin
Roger Alsing18-Jun-03 23:01
Roger Alsing18-Jun-03 23:01 
QuestionDeclared delegates? Pin
Rocky Moore18-Jun-03 20:54
Rocky Moore18-Jun-03 20:54 
AnswerRe: Declared delegates? Pin
Wesner Moise18-Jun-03 21:34
Wesner Moise18-Jun-03 21:34 

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.