Click here to Skip to main content
15,903,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:21
Sphinxniuie11-Aug-15 19:21 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:26
Sphinxniuie11-Aug-15 19:26 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? PinPopular
Wendelius11-Aug-15 19:31
mentorWendelius11-Aug-15 19:31 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:42
Sphinxniuie11-Aug-15 19:42 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 20:11
mentorWendelius11-Aug-15 20:11 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 20:16
Sphinxniuie11-Aug-15 20:16 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:07
Sphinxniuie11-Aug-15 19:07 
Questionhow to work with WIX Pin
jamesmc153510-Aug-15 23:33
jamesmc153510-Aug-15 23:33 
AnswerRe: how to work with WIX Pin
Richard Andrew x6411-Aug-15 9:16
professionalRichard Andrew x6411-Aug-15 9:16 
GeneralRe: how to work with WIX Pin
jamesmc153511-Aug-15 20:51
jamesmc153511-Aug-15 20:51 
QuestionThreading Problem Calling DB Query Pin
Kevin Marois10-Aug-15 12:18
professionalKevin Marois10-Aug-15 12:18 
QuestionRe: Threading Problem Calling DB Query Pin
Richard MacCutchan10-Aug-15 21:54
mveRichard MacCutchan10-Aug-15 21:54 
AnswerRe: Threading Problem Calling DB Query Pin
Kevin Marois11-Aug-15 7:54
professionalKevin Marois11-Aug-15 7:54 
AnswerRe: Threading Problem Calling DB Query Pin
Gerry Schmitz11-Aug-15 8:46
mveGerry Schmitz11-Aug-15 8:46 
AnswerRe: Threading Problem Calling DB Query Pin
Mycroft Holmes11-Aug-15 15:04
professionalMycroft Holmes11-Aug-15 15:04 
QuestionGet new index of all columns after reorder in Listview Pin
Member 1185273110-Aug-15 0:10
Member 1185273110-Aug-15 0:10 
Hi,
I need to save the index of all columns so that when the user opens the form again it is in the same order.I am able to get the OldDisplayIndex and NewDisplayIndex of the reordered column.But i need the new indices of all the columns after reorder in ListView.
C#
<pre>
private void listView1_ColumnReordered(object sender,   ColumnReorderedEventArgs e)
{          
   foreach(ColumnHeader cHeader in ListView1.Columns)
   {
       int iOldValue = e.OldDisplayIndex ;
       int iNewValue = e.NewDisplayIndex ;
       int index     = cHeader.DisplayIndex;
       
   }
}

AnswerRe: Get new index of all columns after reorder in Listview Pin
Ravi Bhavnani10-Aug-15 2:48
professionalRavi Bhavnani10-Aug-15 2:48 
QuestionMessage Closed Pin
7-Aug-15 2:14
dilipk77-Aug-15 2:14 
QuestionTarget Framework in VS Pin
Bill 10016-Aug-15 8:32
Bill 10016-Aug-15 8:32 
AnswerRe: Target Framework in VS Pin
OriginalGriff6-Aug-15 8:44
mveOriginalGriff6-Aug-15 8:44 
GeneralRe: Target Framework in VS Pin
Bill 10016-Aug-15 8:54
Bill 10016-Aug-15 8:54 
AnswerRe: Target Framework in VS Pin
Kevin Marois6-Aug-15 9:35
professionalKevin Marois6-Aug-15 9:35 
GeneralRe: Target Framework in VS Pin
Bill 100113-Aug-15 11:57
Bill 100113-Aug-15 11:57 
GeneralRe: Target Framework in VS Pin
Kevin Marois13-Aug-15 12:00
professionalKevin Marois13-Aug-15 12:00 
GeneralRe: Target Framework in VS Pin
Bill 100113-Aug-15 12:06
Bill 100113-Aug-15 12:06 

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.