Click here to Skip to main content
15,907,329 members
Home / Discussions / C#
   

C#

 
QuestionImage Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:19
Programm3r1-Sep-09 23:19 
AnswerRe: Image Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:28
Programm3r1-Sep-09 23:28 
GeneralRe: Image Changed in PictureBox Event Question Pin
rsbiz20048-Sep-09 23:19
rsbiz20048-Sep-09 23:19 
QuestionPaste Event Pin
cjb1101-Sep-09 21:48
cjb1101-Sep-09 21:48 
AnswerRe: Paste Event Pin
Hristo-Bojilov1-Sep-09 22:25
Hristo-Bojilov1-Sep-09 22:25 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 6:53
cjb1102-Sep-09 6:53 
GeneralRe: Paste Event Pin
Hristo-Bojilov2-Sep-09 9:43
Hristo-Bojilov2-Sep-09 9:43 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 10:40
cjb1102-Sep-09 10:40 
AnswerRe: Paste Event Pin
Jacobb Michael2-Sep-09 6:50
Jacobb Michael2-Sep-09 6:50 
QuestionThe stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama1-Sep-09 20:40
mbyamukama1-Sep-09 20:40 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Christian Graus1-Sep-09 21:03
protectorChristian Graus1-Sep-09 21:03 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan1-Sep-09 21:38
mveRichard MacCutchan1-Sep-09 21:38 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama6-Sep-09 20:09
mbyamukama6-Sep-09 20:09 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan7-Sep-09 0:53
mveRichard MacCutchan7-Sep-09 0:53 
QuestionLet "Console-Application" running Pin
softwarejaeger1-Sep-09 20:37
softwarejaeger1-Sep-09 20:37 
AnswerRe: Let "Console-Application" running Pin
SeMartens1-Sep-09 21:00
SeMartens1-Sep-09 21:00 
GeneralRe: Let "Console-Application" running Pin
Mycroft Holmes1-Sep-09 21:22
professionalMycroft Holmes1-Sep-09 21:22 
GeneralRe: Let "Console-Application" running Pin
SeMartens1-Sep-09 21:39
SeMartens1-Sep-09 21:39 
GeneralRe: Let "Console-Application" running Pin
PIEBALDconsult2-Sep-09 3:28
mvePIEBALDconsult2-Sep-09 3:28 
AnswerRe: Let "Console-Application" running Pin
Mirko19801-Sep-09 22:50
Mirko19801-Sep-09 22:50 
QuestionSortable gridview with comboboxes and can add/delete rows [modified] Pin
Nigel Mackay1-Sep-09 19:58
Nigel Mackay1-Sep-09 19:58 
AnswerRe: Sortable gridview with comboboxes and can add/delete rows Pin
Mycroft Holmes1-Sep-09 21:19
professionalMycroft Holmes1-Sep-09 21:19 
GeneralRe: Sortable gridview with comboboxes and can add/delete rows Pin
Nigel Mackay1-Sep-09 21:43
Nigel Mackay1-Sep-09 21:43 
I am using a DataGridViews on Windows forms.

Had a look at the article, but it does not handle my problem: sortable, with comboboxes, and adding/deleting rows.

Essentially, the question: which is the best way to handle the list of values that must be displayed in the combobox column - use a dictionary or a struct and sort the dictionary/struct when the grid is sorted, or maybe some other method.

I started off using an ArrayList of int, but then I have no reference to sort it to the same order as the grid. So it has to be an ArrayList of a struct that stores the value that must go in the combobox and a value from some other column in the grid so that I can sort the ArrayList to the same order. And it starting to boggle my mind!
GeneralRe: Sortable gridview with comboboxes and can add/delete rows Pin
Mycroft Holmes1-Sep-09 21:55
professionalMycroft Holmes1-Sep-09 21:55 
GeneralRe: Sortable gridview with comboboxes and can add/delete rows Pin
Nigel Mackay1-Sep-09 22:15
Nigel Mackay1-Sep-09 22:15 

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.