Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sequence of Events. Pin
Shameel17-Nov-09 21:49
professionalShameel17-Nov-09 21:49 
QuestionListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon17-Nov-09 15:51
Jacob Dixon17-Nov-09 15:51 
AnswerRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Christian Graus17-Nov-09 15:54
protectorChristian Graus17-Nov-09 15:54 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon17-Nov-09 15:56
Jacob Dixon17-Nov-09 15:56 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon17-Nov-09 15:59
Jacob Dixon17-Nov-09 15:59 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon17-Nov-09 17:09
Jacob Dixon17-Nov-09 17:09 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Mycroft Holmes17-Nov-09 20:24
professionalMycroft Holmes17-Nov-09 20:24 
AnswerRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon18-Nov-09 1:31
Jacob Dixon18-Nov-09 1:31 
Well what I did is loaded the list view with data from the excel sheet, and then looked to see if that excel sheet was missing certain columns. If it WAS missing the columns (I.E. not in the list view columns after being loaded), then I would add them at runtime. Like you mention, the problem was is that the ITEMS were added to the list view before adding the new columns. So the ListView itself sees the columns but the items in it don't. I guess I could of stored that information somewhere else that the columns were missing and at import added blank values to those sql parameters for the ones missing. Problem with that is when the user looks at it, the columns are still missing.

So the listview had the correct amount of columns, but the items didn't. Strange, I figured after adding the columns to the listview it would of appended the columns to the end of the items. To fix it I bet I could of looped through each item and added blank subitems to each one of them after adding each column..

But I ended up using a datagridview instead and I was able to make all that work.
AnswerRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Shameel17-Nov-09 21:54
professionalShameel17-Nov-09 21:54 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Jacob Dixon18-Nov-09 1:32
Jacob Dixon18-Nov-09 1:32 
GeneralRe: ListView subitems problem... finds column but throws error.. DRIVING ME NUTS! Pin
Shameel18-Nov-09 6:52
professionalShameel18-Nov-09 6:52 
QuestionHow to make Video Conference in C# Pin
tredsiam17-Nov-09 15:34
tredsiam17-Nov-09 15:34 
AnswerRe: How to make Video Conference in C# Pin
codprojectmajid27-Mar-13 22:10
codprojectmajid27-Mar-13 22:10 
Questiondisabling a GUI form Pin
Shameer E.A.17-Nov-09 10:43
Shameer E.A.17-Nov-09 10:43 
AnswerRe: disabling a GUI form Pin
Ian Shlasko17-Nov-09 10:47
Ian Shlasko17-Nov-09 10:47 
GeneralRe: disabling a GUI form Pin
Shameel17-Nov-09 22:46
professionalShameel17-Nov-09 22:46 
AnswerRe: disabling a GUI form Pin
PIEBALDconsult17-Nov-09 14:17
mvePIEBALDconsult17-Nov-09 14:17 
AnswerRe: disabling a GUI form Pin
_Maxxx_17-Nov-09 15:42
professional_Maxxx_17-Nov-09 15:42 
AnswerRe: disabling a GUI form Pin
Shameel17-Nov-09 22:46
professionalShameel17-Nov-09 22:46 
GeneralRe: disabling a GUI form Pin
Shameer E.A.19-Nov-09 15:22
Shameer E.A.19-Nov-09 15:22 
QuestionCreating HTML in C# Pin
AndyASPVB17-Nov-09 9:35
AndyASPVB17-Nov-09 9:35 
AnswerRe: Creating HTML in C# Pin
Christian Graus17-Nov-09 11:32
protectorChristian Graus17-Nov-09 11:32 
AnswerRe: Creating HTML in C# Pin
PIEBALDconsult17-Nov-09 14:15
mvePIEBALDconsult17-Nov-09 14:15 
GeneralRe: Creating HTML in C# Pin
njwu17-Nov-09 17:49
njwu17-Nov-09 17:49 
QuestionSortedList Pin
Brink Fourie17-Nov-09 9:25
Brink Fourie17-Nov-09 9:25 

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.