Click here to Skip to main content
15,885,985 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questioni got error in asp.net. Pin
kalyan121126-Nov-07 22:41
kalyan121126-Nov-07 22:41 
AnswerRe: i got error in asp.net. Pin
Pete O'Hanlon26-Nov-07 22:45
mvePete O'Hanlon26-Nov-07 22:45 
AnswerRe: i got error in asp.net. Pin
Paul Conrad30-Nov-07 9:27
professionalPaul Conrad30-Nov-07 9:27 
QuestionHow to go one form to other inb.net Pin
kalyan121126-Nov-07 22:35
kalyan121126-Nov-07 22:35 
AnswerRe: How to go one form to other inb.net Pin
Christian Graus26-Nov-07 22:50
protectorChristian Graus26-Nov-07 22:50 
GeneralRe: How to go one form to other inb.net Pin
kalyan121126-Nov-07 22:59
kalyan121126-Nov-07 22:59 
GeneralRe: How to go one form to other inb.net Pin
Christian Graus27-Nov-07 0:07
protectorChristian Graus27-Nov-07 0:07 
QuestionHow to show image in ListView Second Column **** urgent Pin
VenkataRamana.Gali26-Nov-07 17:09
VenkataRamana.Gali26-Nov-07 17:09 
Hello,

i am working on C# 2.0 winforms.

I have a ListView, in this there are 5 columns, in second column an icon need to be displayed.

my code as follows...

listView1.Columns.Add("");<br />
listView1.Columns.Add("");<br />
listView1.Columns.Add("two");<br />
listView1.Columns.Add("three");<br />
listView1.Columns.Add("one");<br />
listView1.Columns.Add("two");<br />
listView1.Columns.Add("three");<br />
<br />
listView1.FullRowSelect = true;<br />
listView1.GridLines = true;<br />
listView1.View = View.Details;<br />
listView1.SmallImageList = imageList1; //imageList1 is having 1 icon.<br />
<br />
for (int I = 0; I <= 10; I++)<br />
{<br />
   ListViewItem item = new ListViewItem("");<br />
   item.SubItems.Add("");<br />
   item.SubItems.Add("aaa"); <br />
   item.SubItems.Add("bbb");<br />
   item.SubItems.Add("cccc"); <br />
   item.ImageIndex = 0; //this code showing image in first column<br />
   listView1.Items.Add(item);<br />
}


my problem is... item.ImageIndex = 0; is showing icon in only first column. i have to show icon in second column.

how to to do?
any sounds will be greatly appriciated.

Ramana

AnswerRe: How to show image in ListView Second Column **** urgent Pin
Sangmeshwar patil3-Nov-09 18:40
Sangmeshwar patil3-Nov-09 18:40 
QuestionValues on Form 2 appears on Form 1 !?? c# Pin
Phoenix_p326-Nov-07 9:03
Phoenix_p326-Nov-07 9:03 
AnswerRe: Values on Form 2 appears on Form 1 !?? c# Pin
Pete O'Hanlon26-Nov-07 10:43
mvePete O'Hanlon26-Nov-07 10:43 
GeneralRe: Values on Form 2 appears on Form 1 !?? c# Pin
Christian Graus26-Nov-07 11:44
protectorChristian Graus26-Nov-07 11:44 
GeneralRe: Values on Form 2 appears on Form 1 !?? c# Pin
Pete O'Hanlon26-Nov-07 21:58
mvePete O'Hanlon26-Nov-07 21:58 
GeneralRe: Values on Form 2 appears on Form 1 !?? c# Pin
Christian Graus27-Nov-07 0:08
protectorChristian Graus27-Nov-07 0:08 
GeneralRe: Values on Form 2 appears on Form 1 !?? c# Pin
Pete O'Hanlon27-Nov-07 5:16
mvePete O'Hanlon27-Nov-07 5:16 
QuestionDataGrid Component for Window Forms alike of in ASP.Net 1.0 Pin
WinSolution24-Nov-07 6:34
WinSolution24-Nov-07 6:34 
QuestionRetaining Focus in owned Forms Pin
TyrionTheImp24-Nov-07 3:32
TyrionTheImp24-Nov-07 3:32 
AnswerRe: Retaining Focus in owned Forms Pin
Xmen Real 24-Nov-07 4:11
professional Xmen Real 24-Nov-07 4:11 
GeneralRe: Retaining Focus in owned Forms Pin
TyrionTheImp25-Nov-07 20:07
TyrionTheImp25-Nov-07 20:07 
GeneralRe: Retaining Focus in owned Forms Pin
Xmen Real 25-Nov-07 21:20
professional Xmen Real 25-Nov-07 21:20 
GeneralRe: Retaining Focus in owned Forms Pin
TyrionTheImp27-Nov-07 17:21
TyrionTheImp27-Nov-07 17:21 
GeneralRe: Retaining Focus in owned Forms Pin
Xmen Real 27-Nov-07 18:29
professional Xmen Real 27-Nov-07 18:29 
QuestionHow to chane title bar of a window form in C# Pin
WinSolution23-Nov-07 9:04
WinSolution23-Nov-07 9:04 
AnswerRe: How to chane title bar of a window form in C# Pin
Kristian Sixhøj23-Nov-07 9:08
Kristian Sixhøj23-Nov-07 9:08 
GeneralRe: How to chane title bar of a window form in C# Pin
WinSolution23-Nov-07 9:19
WinSolution23-Nov-07 9:19 

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.