Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
QuestionRemove duplicate nodes from xml using c# Pin
ipstefan7-May-09 2:56
ipstefan7-May-09 2:56 
AnswerRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 4:26
musefan7-May-09 4:26 
GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan7-May-09 6:00
ipstefan7-May-09 6:00 
GeneralRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 6:13
musefan7-May-09 6:13 
GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan7-May-09 7:00
ipstefan7-May-09 7:00 
GeneralRe: Remove duplicate nodes from xml using c# Pin
musefan7-May-09 21:58
musefan7-May-09 21:58 
GeneralRe: Remove duplicate nodes from xml using c# Pin
ipstefan8-May-09 20:51
ipstefan8-May-09 20:51 
QuestionListView - Select ListViewItem Pin
al3xutzu007-May-09 1:34
al3xutzu007-May-09 1:34 
Hi,

I have a list view with 5 columns and 4 items in that listView.

When i click on a row ( item) of that listViewi want the whole row to be highlighted blue , and if i select another row, what that it to be selected as well.
So basically i want it to look like the whole row is selected not just the first column item.
here is what i tried :
private void listView1_Click(object sender, EventArgs e)<br />
{<br />
    for (int i = 0; i < listView1.Items.Count; i++)<br />
    {<br />
        if (listView1.Items[i].Selected == true)<br />
        {<br />
            listView1.Items[i].BackColor = Color.Blue;<br />
        }<br />
    }<br />
}


BUT this works after I change the selection of the row! for example i select row 1 , and when i select row 2 , then row 1 is highlited . Why guys?
Any suggestions please?
Regards,
Alex

“Be the change you want to see in the world.”

AnswerRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 1:51
professionalNagy Vilmos7-May-09 1:51 
GeneralRe: ListView - Select ListViewItem Pin
al3xutzu007-May-09 2:05
al3xutzu007-May-09 2:05 
AnswerRe: ListView - Select ListViewItem Pin
fly9047-May-09 2:01
fly9047-May-09 2:01 
AnswerRe: ListView - Select ListViewItem Pin
CPallini7-May-09 2:10
mveCPallini7-May-09 2:10 
JokeRe: ListView - Select ListViewItem Pin
Rajesh R Subramanian7-May-09 2:54
professionalRajesh R Subramanian7-May-09 2:54 
GeneralRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 2:56
professionalNagy Vilmos7-May-09 2:56 
GeneralRe: ListView - Select ListViewItem Pin
Rajesh R Subramanian7-May-09 3:18
professionalRajesh R Subramanian7-May-09 3:18 
GeneralRe: ListView - Select ListViewItem Pin
Nagy Vilmos7-May-09 5:17
professionalNagy Vilmos7-May-09 5:17 
AnswerRe: ListView - Select ListViewItem Pin
Dan Neely7-May-09 3:11
Dan Neely7-May-09 3:11 
GeneralRe: ListView - Select ListViewItem Pin
al3xutzu007-May-09 6:50
al3xutzu007-May-09 6:50 
QuestionSave word in to picture. Pin
Prajeesh7-May-09 0:41
Prajeesh7-May-09 0:41 
QuestionGUID in Access 2007 ? Pin
hdv2127-May-09 0:35
hdv2127-May-09 0:35 
AnswerRe: GUID in Access 2007 ? Pin
Rajesh R Subramanian7-May-09 0:45
professionalRajesh R Subramanian7-May-09 0:45 
GeneralRe: GUID in Access 2007 ? Pin
hdv2127-May-09 1:09
hdv2127-May-09 1:09 
GeneralRe: GUID in Access 2007 ? Pin
Rajesh R Subramanian7-May-09 1:17
professionalRajesh R Subramanian7-May-09 1:17 
GeneralRe: GUID in Access 2007 ? Pin
monstale7-May-09 0:47
monstale7-May-09 0:47 
QuestionWhich O/R Mapper for ERP application Pin
sergiq27-May-09 0:35
sergiq27-May-09 0:35 

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.